
Time bar (total: 9.7s)
| 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 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 75% | 74.9% | 25% | 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 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 7 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 8 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 9 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 10 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 11 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 11 to 8 computations (27.3% saved)
| 2.3s | 2 709× | 5 | exit |
| 533.0ms | 8 256× | 0 | valid |
ival-log1p: 1.1s (47.1% of total)adjust: 872.0ms (36.4% of total)ival-exp: 152.0ms (6.3% of total)ival-sub: 123.0ms (5.1% of total)ival-mult: 106.0ms (4.4% of total)ival-true: 9.0ms (0.4% of total)ival-assert: 5.0ms (0.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 1 | 70 | (-1.5498271937166156e+55 1.1603435332320504e+170) | 0 | - | (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
| 0 | 0 | - | 0 | - | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| 0 | 0 | - | 0 | - | (+.f64 #s(literal 1 binary64) (exp.f64 x)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (exp.f64 x) |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
log.f64 | (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) | sensitivity | 71 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 71 | 185 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 71 | 0 | 185 |
| number | freq |
|---|---|
| 0 | 185 |
| 1 | 71 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 1 | 0 | 0 |
| 70.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-sub: 37.0ms (68.4% of total)ival-log1p: 5.0ms (9.2% of total)ival-exp: 4.0ms (7.4% of total)ival-mult: 4.0ms (7.4% of total)ival-add: 3.0ms (5.5% of total)adjust: 0.0ms (0% 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 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 51 |
| 1 | 52 | 49 |
| 2 | 123 | 49 |
| 3 | 285 | 49 |
| 4 | 1170 | 49 |
| 5 | 5694 | 49 |
| 0 | 8 | 9 |
| 0 | 13 | 9 |
| 1 | 23 | 9 |
| 2 | 46 | 9 |
| 3 | 97 | 9 |
| 4 | 316 | 9 |
| 5 | 2915 | 9 |
| 0 | 8106 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Outputs |
|---|
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
Compiled 9 to 8 computations (11.1% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (exp.f64 x) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) (exp.f64 x)) | |
| cost-diff | 0 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) | |
| cost-diff | 2 | (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 26 |
| 0 | 13 | 26 |
| 1 | 23 | 26 |
| 2 | 46 | 26 |
| 3 | 97 | 26 |
| 4 | 316 | 26 |
| 5 | 2915 | 26 |
| 0 | 8106 | 22 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
(+.f64 #s(literal 1 binary64) (exp.f64 x)) |
#s(literal 1 binary64) |
(exp.f64 x) |
x |
(*.f64 x y) |
y |
| Outputs |
|---|
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
(log1p.f64 (exp.f64 x)) |
(+.f64 #s(literal 1 binary64) (exp.f64 x)) |
(-.f64 (exp.f64 x) #s(literal -1 binary64)) |
#s(literal 1 binary64) |
(exp.f64 x) |
x |
(*.f64 x y) |
(*.f64 y x) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (exp.f64 x) | |
| accuracy | 0.0078125 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) | |
| accuracy | 0.0078125 | (+.f64 #s(literal 1 binary64) (exp.f64 x)) | |
| accuracy | 0.0761671362934735 | (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
| 21.0ms | 256× | 0 | valid |
Compiled 28 to 10 computations (64.3% saved)
ival-log1p: 3.0ms (30.3% of total)ival-exp: 2.0ms (20.2% of total)ival-mult: 2.0ms (20.2% of total)ival-add: 1.0ms (10.1% of total)ival-sub: 1.0ms (10.1% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
(+.f64 #s(literal 1 binary64) (exp.f64 x)) |
(exp.f64 x) |
| Outputs |
|---|
(log 2) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
2 |
(+ 2 x) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(log (+ 1 (exp x))) |
(* -1 (* x y)) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(+ 1 (exp x)) |
(exp x) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 29.0ms | x | @ | -inf | ((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x)) |
| 27.0ms | x | @ | inf | ((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x)) |
| 3.0ms | y | @ | 0 | ((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x)) |
| 1.0ms | y | @ | -inf | ((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x)) |
| 1.0ms | y | @ | inf | ((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 67 | 193 |
| 1 | 212 | 192 |
| 2 | 673 | 192 |
| 3 | 2213 | 192 |
| 4 | 5571 | 192 |
| 0 | 8531 | 158 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log 2) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
2 |
(+ 2 x) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(log (+ 1 (exp x))) |
(* -1 (* x y)) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(+ 1 (exp x)) |
(exp x) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
| Outputs |
|---|
(log 2) |
(log1p.f64 #s(literal 1 binary64)) |
(+ (log 2) (* 1/2 x)) |
(fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/192 binary64) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(+ (log 2) (* x (- 1/2 y))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/192 binary64) (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))) x (log1p.f64 #s(literal 1 binary64))) |
2 |
#s(literal 2 binary64) |
(+ 2 x) |
(-.f64 x #s(literal -2 binary64)) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(log (+ 1 (exp x))) |
(log1p.f64 (exp.f64 x)) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(+ 1 (exp x)) |
(+.f64 (exp.f64 x) #s(literal 1 binary64)) |
(exp x) |
(exp.f64 x) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 0 | 13 | 20 |
| 1 | 49 | 20 |
| 0 | 357 | 16 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
(+.f64 #s(literal 1 binary64) (exp.f64 x)) |
(exp.f64 x) |
| Outputs |
|---|
(log1p.f64 (exp.f64 x)) |
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (log.f64 (-.f64 #s(literal 1 binary64) (exp.f64 x)))) |
(-.f64 (log1p.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (log1p.f64 (*.f64 (exp.f64 x) (expm1.f64 x)))) |
(log.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64))) |
(/.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (fma.f64 y x (log1p.f64 (exp.f64 x))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 y x (log1p.f64 (exp.f64 x)))) |
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x))) |
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x))))) |
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))))) |
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 y x)) |
(+.f64 (*.f64 (neg.f64 x) y) (log1p.f64 (exp.f64 x))) |
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 y) x)) |
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) y)) |
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (neg.f64 (-.f64 #s(literal 1 binary64) (exp.f64 x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 x)))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))) |
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (exp.f64 x)) |
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (exp.f64 x)) |
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (exp.f64 x)) |
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (exp.f64 x))) (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (exp.f64 x)))) |
(-.f64 (exp.f64 x) #s(literal -1 binary64)) |
(+.f64 (+.f64 #s(literal 1 binary64) (cosh.f64 x)) (sinh.f64 x)) |
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))) (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64)))) |
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal 1 binary64))) |
(+.f64 (exp.f64 x) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (exp.f64 x)) |
(*.f64 (exp.f64 x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (exp.f64 x)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x))))) |
(fma.f64 (cosh.f64 x) #s(literal 1 binary64) (*.f64 (sinh.f64 x) #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (*.f64 #s(literal 1 binary64) (sinh.f64 x))) |
(exp.f64 (+.f64 #s(literal 0 binary64) x)) |
(exp.f64 x) |
(+.f64 (*.f64 (cosh.f64 x) #s(literal 1 binary64)) (*.f64 (sinh.f64 x) #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 x)) (*.f64 #s(literal 1 binary64) (sinh.f64 x))) |
(+.f64 (sinh.f64 x) (cosh.f64 x)) |
(+.f64 (cosh.f64 x) (sinh.f64 x)) |
Compiled 1 099 to 291 computations (73.5% saved)
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 64 | 6 | 70 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 65 | 6 | 71 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
| 84.2% | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) | |
| ▶ | 94.0% | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
| ▶ | 79.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
| ▶ | 87.0% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
| ▶ | 43.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
Compiled 172 to 142 computations (17.4% saved)
| 1× | egg-herbie |
Found 19 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) | |
| cost-diff | 0 | (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) | |
| cost-diff | 0 | (log1p.f64 #s(literal 1 binary64)) | |
| cost-diff | 0 | (-.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | #s(approx (+ 1 (exp x)) #s(literal 2 binary64)) | |
| cost-diff | 0 | (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) | |
| cost-diff | 0 | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (*.f64 (neg.f64 x) y) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) | |
| cost-diff | 0 | (exp.f64 x) | |
| cost-diff | 0 | (log1p.f64 (exp.f64 x)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 141 |
| 0 | 45 | 141 |
| 1 | 65 | 141 |
| 2 | 118 | 141 |
| 3 | 258 | 141 |
| 4 | 708 | 141 |
| 5 | 4774 | 141 |
| 0 | 8425 | 141 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(neg.f64 x) |
x |
y |
(log1p.f64 (exp.f64 x)) |
(exp.f64 x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
(*.f64 (neg.f64 x) y) |
(neg.f64 x) |
x |
y |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) |
#s(approx (+ 1 (exp x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 x y) |
x |
y |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
#s(literal 1/8 binary64) |
x |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
(neg.f64 x) |
x |
y |
(log1p.f64 (exp.f64 x)) |
(exp.f64 x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 y (neg.f64 x))) |
(*.f64 (neg.f64 x) y) |
(*.f64 y (neg.f64 x)) |
(neg.f64 x) |
x |
y |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))) |
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) |
#s(approx (+ 1 (exp x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 x y) |
(*.f64 y x) |
x |
y |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
#s(literal 1/8 binary64) |
x |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 19 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (log1p.f64 #s(literal 1 binary64)) | |
| accuracy | 0.00390625 | (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) | |
| accuracy | 0.01171875 | (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) | |
| accuracy | 12.985524366857009 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) | |
| accuracy | 0.0 | (-.f64 #s(literal 1/2 binary64) y) | |
| accuracy | 0.0 | (log1p.f64 #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) | |
| accuracy | 8.325468006631157 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0078125 | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) | |
| accuracy | 0.0761671362934735 | (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) | |
| accuracy | 15.75417771976828 | #s(approx (+ 1 (exp x)) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (*.f64 (neg.f64 x) y) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 36.132487805743466 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) | |
| accuracy | 0.0 | (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 0.0 | (exp.f64 x) | |
| accuracy | 0.01171875 | (log1p.f64 (exp.f64 x)) |
| 345.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
Compiled 136 to 24 computations (82.4% saved)
ival-add: 309.0ms (93.5% of total)ival-mult: 9.0ms (2.7% of total)ival-log1p: 5.0ms (1.5% of total)ival-exp: 2.0ms (0.6% of total)ival-sub: 2.0ms (0.6% of total)exact: 1.0ms (0.3% of total)ival-neg: 1.0ms (0.3% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(neg.f64 x) |
(log1p.f64 (exp.f64 x)) |
(exp.f64 x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
(*.f64 (neg.f64 x) y) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) |
#s(approx (+ 1 (exp x)) #s(literal 2 binary64)) |
(*.f64 x y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(-.f64 #s(literal 1/2 binary64) y) |
(log1p.f64 #s(literal 1 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
| Outputs |
|---|
(log 2) |
(+ (log 2) (* x (+ 1/2 (* -1 y)))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))) |
(* -1 x) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(* -1 (* x y)) |
2 |
(+ 2 x) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(* x y) |
(- 1/2 y) |
(- (+ 1/2 (* 1/8 x)) y) |
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))) |
(log (+ 1 (exp x))) |
(exp x) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(+ 1 (exp x)) |
(* x (- 1/2 y)) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
(* 1/8 (pow x 2)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
(* 1/8 x) |
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
1/2 |
(+ 1/2 (* -1 y)) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(+ 1/2 (* 1/8 x)) |
(+ 1/2 (+ (* -1 y) (* 1/8 x))) |
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(* -1 y) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 15.0ms | x | @ | -inf | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y))) |
| 9.0ms | x | @ | inf | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y))) |
| 4.0ms | x | @ | 0 | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y))) |
| 4.0ms | y | @ | 0 | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y))) |
| 3.0ms | y | @ | inf | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 159 | 548 |
| 1 | 555 | 519 |
| 2 | 1942 | 514 |
| 3 | 6802 | 514 |
| 0 | 8110 | 452 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log 2) |
(+ (log 2) (* x (+ 1/2 (* -1 y)))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))) |
(* -1 x) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(* -1 (* x y)) |
2 |
(+ 2 x) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(* x y) |
(- 1/2 y) |
(- (+ 1/2 (* 1/8 x)) y) |
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))) |
(log (+ 1 (exp x))) |
(exp x) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(+ 1 (exp x)) |
(* x (- 1/2 y)) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
(* 1/8 (pow x 2)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
(* 1/8 x) |
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
1/2 |
(+ 1/2 (* -1 y)) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(+ 1/2 (* 1/8 x)) |
(+ 1/2 (+ (* -1 y) (* 1/8 x))) |
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(* -1 y) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y))))) |
| Outputs |
|---|
(log 2) |
(log1p.f64 #s(literal 1 binary64)) |
(+ (log 2) (* x (+ 1/2 (* -1 y)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/192 binary64) (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))) x (log1p.f64 #s(literal 1 binary64))) |
(* -1 x) |
(neg.f64 x) |
(+ (log 2) (* 1/2 x)) |
(fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ (log 2) (* x (- 1/2 y))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/192 binary64) (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))) x (log1p.f64 #s(literal 1 binary64))) |
(* -1 (* x y)) |
(*.f64 (neg.f64 y) x) |
2 |
#s(literal 2 binary64) |
(+ 2 x) |
(-.f64 x #s(literal -2 binary64)) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(* x y) |
(*.f64 y x) |
(- 1/2 y) |
(-.f64 #s(literal 1/2 binary64) y) |
(- (+ 1/2 (* 1/8 x)) y) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(log (+ 1 (exp x))) |
(log1p.f64 (exp.f64 x)) |
(exp x) |
(exp.f64 x) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(+ 1 (exp x)) |
(-.f64 (exp.f64 x) #s(literal -1 binary64)) |
(* x (- 1/2 y)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
(*.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) |
(* 1/8 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/8 binary64)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 (+.f64 #s(literal -1/2 binary64) y) (/.f64 (log1p.f64 #s(literal 1 binary64)) x)) x)) x) x) |
(* 1/8 x) |
(*.f64 #s(literal 1/8 binary64) x) |
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) |
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(*.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 (+.f64 #s(literal -1/2 binary64) y) (/.f64 (log1p.f64 #s(literal 1 binary64)) x)) x)) x) x) |
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8))) |
(*.f64 (neg.f64 x) (-.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* -1 y)) |
(-.f64 #s(literal 1/2 binary64) y) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ 1/2 (* 1/8 x)) |
(fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) |
(+ 1/2 (+ (* -1 y) (* 1/8 x))) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* -1 y) |
(neg.f64 y) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) #s(literal 1 binary64)) y) |
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y))))) |
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) #s(literal 1 binary64)) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 118 |
| 0 | 45 | 118 |
| 0 | 163 | 118 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(neg.f64 x) |
(log1p.f64 (exp.f64 x)) |
(exp.f64 x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
(*.f64 (neg.f64 x) y) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) |
#s(approx (+ 1 (exp x)) #s(literal 2 binary64)) |
(*.f64 x y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(-.f64 #s(literal 1/2 binary64) y) |
(log1p.f64 #s(literal 1 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (log1p.f64 (exp.f64 x)) (log1p.f64 (exp.f64 x))) (*.f64 (*.f64 y x) (*.f64 y x))) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 y x))) |
(/.f64 (-.f64 (*.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x))) (*.f64 (log1p.f64 (exp.f64 x)) (log1p.f64 (exp.f64 x)))) (-.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x)))) |
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (log1p.f64 (exp.f64 x)) (log1p.f64 (exp.f64 x)) (fma.f64 (*.f64 y x) (*.f64 y x) (*.f64 (log1p.f64 (exp.f64 x)) (*.f64 y x))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64))) (fma.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x)) (-.f64 (*.f64 (log1p.f64 (exp.f64 x)) (log1p.f64 (exp.f64 x))) (*.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x)))))) |
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 y x)) |
(+.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x))) |
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 y (neg.f64 x))) |
(neg.f64 x) |
(log1p.f64 (exp.f64 x)) |
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
(exp.f64 x) |
(+.f64 (cosh.f64 x) (sinh.f64 x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 y (neg.f64 x))) |
(*.f64 y (neg.f64 x)) |
(*.f64 (neg.f64 x) y) |
(neg.f64 (*.f64 y x)) |
(/.f64 (-.f64 (*.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))) (*.f64 (*.f64 y x) (*.f64 y x))) (+.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 y x))) |
(/.f64 (-.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (fma.f64 (*.f64 y x) (*.f64 y x) (*.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 y x))))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 y x)) |
(+.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 y (neg.f64 x))) |
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) |
#s(approx (+ 1 (exp x)) #s(literal 2 binary64)) |
(*.f64 y x) |
(*.f64 x y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64)))) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log1p.f64 #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64))) (*.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log1p.f64 #s(literal 1 binary64)))))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 x (-.f64 #s(literal 1/2 binary64) y) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (log1p.f64 #s(literal 1 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (-.f64 (pow.f64 #s(literal 1/2 binary64) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (fma.f64 y y (*.f64 #s(literal 1/2 binary64) y)))) |
(-.f64 #s(literal 1/2 binary64) y) |
(log1p.f64 #s(literal 1 binary64)) |
(log.f64 #s(literal 2 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)) (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64)))) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 3 binary64)) (pow.f64 (log1p.f64 #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (-.f64 (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64))) (*.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log1p.f64 #s(literal 1 binary64)))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 x (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (log1p.f64 #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/8 binary64) x) (*.f64 #s(literal 1/8 binary64) x)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) (-.f64 #s(literal 1/2 binary64) y))) (-.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 3 binary64)) (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/8 binary64) x) (*.f64 #s(literal 1/8 binary64) x) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) (-.f64 #s(literal 1/2 binary64) y)) (*.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y))))) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
(fma.f64 x #s(literal 1/8 binary64) (-.f64 #s(literal 1/2 binary64) y)) |
(-.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) |
(+.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y)) |
(+.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/8 binary64) x)) |
Compiled 2 341 to 369 computations (84.2% saved)
10 alts after pruning (8 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 102 | 7 | 109 |
| Fresh | 0 | 1 | 1 |
| Picked | 3 | 2 | 5 |
| Done | 0 | 0 | 0 |
| Total | 105 | 10 | 115 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
| ▶ | 94.0% | (fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
| ▶ | 84.2% | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
| 60.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) | |
| ▶ | 58.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
| ✓ | 43.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
| ▶ | 31.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
| ▶ | 16.6% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
| 5.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) | |
| 58.1% | #s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
Compiled 365 to 287 computations (21.4% saved)
| 1× | egg-herbie |
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))) | |
| cost-diff | 0 | (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) | |
| cost-diff | 0 | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) | |
| cost-diff | 0 | (log1p.f64 #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (- 1/2 y) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) | |
| cost-diff | 0 | (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) | |
| cost-diff | 0 | (-.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) | |
| cost-diff | 0 | #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) | |
| cost-diff | 0 | #s(approx (exp x) #s(literal 1 binary64)) | |
| cost-diff | 0 | (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 262 |
| 0 | 68 | 262 |
| 1 | 108 | 262 |
| 2 | 221 | 262 |
| 3 | 543 | 262 |
| 4 | 1813 | 262 |
| 0 | 8635 | 250 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(neg.f64 x) |
x |
y |
(log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) |
#s(approx (exp x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))) |
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) |
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) |
#s(literal 1/8 binary64) |
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x) |
(+.f64 #s(literal -1/2 binary64) y) |
#s(literal -1/2 binary64) |
y |
x |
(*.f64 x x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
(log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) |
#s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
(*.f64 x y) |
y |
| Outputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(fma.f64 (neg.f64 y) x (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(neg.f64 x) |
x |
y |
(log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) |
#s(approx (exp x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x)) |
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) |
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x) |
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) |
#s(literal 1/8 binary64) |
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x) |
(+.f64 #s(literal -1/2 binary64) y) |
#s(literal -1/2 binary64) |
y |
x |
(*.f64 x x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))))) |
(log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) |
#s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
(*.f64 x y) |
(*.f64 y x) |
y |
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0078125 | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) | |
| accuracy | 0.0761671362934735 | (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) | |
| accuracy | 17.505899921256795 | #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))) | |
| accuracy | 0.0 | (log1p.f64 #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) | |
| accuracy | 8.325468006631157 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) | |
| accuracy | 27.885365742453708 | #s(approx (- 1/2 y) #s(literal 1/2 binary64)) | |
| accuracy | 0.0078125 | (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) | |
| accuracy | 12.985524366857009 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) | |
| accuracy | 23.960267319413312 | (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) | |
| accuracy | 35.91404446294096 | #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))) | |
| accuracy | 0.0 | (-.f64 #s(literal 1/2 binary64) y) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) | |
| accuracy | 8.325468006631157 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) | |
| accuracy | 35.92966946295431 | #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) | |
| accuracy | 0.0 | (fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 0.01171875 | (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) | |
| accuracy | 18.54438161915046 | #s(approx (exp x) #s(literal 1 binary64)) |
| 72.0ms | 256× | 0 | valid |
Compiled 179 to 34 computations (81% saved)
ival-mult: 14.0ms (30.3% of total)ival-log1p: 10.0ms (21.6% of total)ival-add: 9.0ms (19.5% of total)ival-exp: 6.0ms (13% of total)ival-sub: 3.0ms (6.5% of total)ival-div: 2.0ms (4.3% of total)exact: 1.0ms (2.2% of total)ival-neg: 1.0ms (2.2% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(neg.f64 x) |
(log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) |
#s(approx (exp x) #s(literal 1 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))) |
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) |
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
(log1p.f64 #s(literal 1 binary64)) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
(log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) |
#s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x) |
(*.f64 x y) |
| Outputs |
|---|
(log 2) |
(+ (log 2) (* x (+ 1/2 (* -1 y)))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))) |
(* -1 x) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(* x (- 1/2 y)) |
(* x (- (+ 1/2 (* 1/8 x)) y)) |
(/ (- 1/2 y) x) |
(/ (- (+ 1/2 (* 1/8 x)) y) x) |
2 |
(+ 2 x) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(/ (- y 1/2) x) |
(* x y) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))) |
(log (+ 1 (exp x))) |
(exp x) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
(* 1/8 (pow x 2)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
1/8 |
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)) |
(+ 1 (exp x)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (+ (/ 1 x) (/ 2 (pow x 2))))) |
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x)))) |
(+ 1/8 (* -1 (/ (- y 1/2) x))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
(* 1/2 x) |
(+ (* -1 (* x y)) (* 1/2 x)) |
1/2 |
(+ 1/2 (* -1 y)) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) |
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))) |
(+ 1/8 (* 1/2 (/ 1 x))) |
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x)))) |
(/ -1/2 x) |
(- (/ y x) (* 1/2 (/ 1 x))) |
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(* y (+ (* -1 x) (* 1/2 (/ x y)))) |
(* -1 y) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))) |
(* -1 (/ y x)) |
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(/ y x) |
(* y (- (/ 1 x) (* 1/2 (/ 1 (* x y))))) |
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(* -1 (* y (+ x (* -1/2 (/ x y))))) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))))) |
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x)))) |
(* -1 (* y (- (* 1/2 (/ 1 (* x y))) (/ 1 x)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 29.0ms | x | @ | -inf | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (+ (* (+ (* 1/2 x) 1) x) 2) (/ (+ -1/2 y) x) (* x y)) |
| 9.0ms | x | @ | inf | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (+ (* (+ (* 1/2 x) 1) x) 2) (/ (+ -1/2 y) x) (* x y)) |
| 4.0ms | y | @ | 0 | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (+ (* (+ (* 1/2 x) 1) x) 2) (/ (+ -1/2 y) x) (* x y)) |
| 4.0ms | y | @ | -inf | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (+ (* (+ (* 1/2 x) 1) x) 2) (/ (+ -1/2 y) x) (* x y)) |
| 4.0ms | y | @ | inf | ((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (- 1/2 y) (log (+ 1 1)) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (+ (* (+ (* 1/2 x) 1) x) 2) (/ (+ -1/2 y) x) (* x y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 196 | 719 |
| 1 | 698 | 689 |
| 2 | 2484 | 657 |
| 0 | 8190 | 588 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log 2) |
(+ (log 2) (* x (+ 1/2 (* -1 y)))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))) |
(* -1 x) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(* x (- 1/2 y)) |
(* x (- (+ 1/2 (* 1/8 x)) y)) |
(/ (- 1/2 y) x) |
(/ (- (+ 1/2 (* 1/8 x)) y) x) |
2 |
(+ 2 x) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(/ (- y 1/2) x) |
(* x y) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))) |
(log (+ 1 (exp x))) |
(exp x) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
(* 1/8 (pow x 2)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
1/8 |
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)) |
(+ 1 (exp x)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (+ (/ 1 x) (/ 2 (pow x 2))))) |
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x)))) |
(+ 1/8 (* -1 (/ (- y 1/2) x))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
(* 1/2 x) |
(+ (* -1 (* x y)) (* 1/2 x)) |
1/2 |
(+ 1/2 (* -1 y)) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) |
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))) |
(+ 1/8 (* 1/2 (/ 1 x))) |
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x)))) |
(/ -1/2 x) |
(- (/ y x) (* 1/2 (/ 1 x))) |
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(* y (+ (* -1 x) (* 1/2 (/ x y)))) |
(* -1 y) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))) |
(* -1 (/ y x)) |
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(/ y x) |
(* y (- (/ 1 x) (* 1/2 (/ 1 (* x y))))) |
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(* -1 (* y (+ x (* -1/2 (/ x y))))) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))))) |
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x)))) |
(* -1 (* y (- (* 1/2 (/ 1 (* x y))) (/ 1 x)))) |
| Outputs |
|---|
(log 2) |
(log1p.f64 #s(literal 1 binary64)) |
(+ (log 2) (* x (+ 1/2 (* -1 y)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(* -1 x) |
(neg.f64 x) |
(+ (log 2) (* 1/2 x)) |
(fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ (log 2) (* x (- 1/2 y))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(* x (- 1/2 y)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* x (- (+ 1/2 (* 1/8 x)) y)) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(/ (- 1/2 y) x) |
(/.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(/ (- (+ 1/2 (* 1/8 x)) y) x) |
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) |
2 |
#s(literal 2 binary64) |
(+ 2 x) |
(-.f64 x #s(literal -2 binary64)) |
(+ 2 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(/ (- y 1/2) x) |
(/.f64 (-.f64 y #s(literal 1/2 binary64)) x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x y)) |
(*.f64 (neg.f64 y) x) |
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(log (+ 1 (exp x))) |
(log1p.f64 (exp.f64 x)) |
(exp x) |
(exp.f64 x) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
(*.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) |
(* 1/8 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/8 binary64)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
(fma.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x (*.f64 (*.f64 x x) #s(literal 1/8 binary64))) |
1/8 |
#s(literal 1/8 binary64) |
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)) |
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) |
(+ 1 (exp x)) |
(-.f64 (exp.f64 x) #s(literal -1 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (+ (/ 1 x) (/ 2 (pow x 2))))) |
(*.f64 (fma.f64 (-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x) |
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(*.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(fma.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x (*.f64 (*.f64 x x) #s(literal 1/8 binary64))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x)))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(+ 1/8 (* -1 (/ (- y 1/2) x))) |
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(+ (* -1 (* x y)) (* 1/2 x)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* -1 y)) |
(-.f64 #s(literal 1/2 binary64) y) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x) |
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(+ 1/8 (* 1/2 (/ 1 x))) |
(-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) |
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x)))) |
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) |
(/ -1/2 x) |
(/.f64 #s(literal -1/2 binary64) x) |
(- (/ y x) (* 1/2 (/ 1 x))) |
(/.f64 (-.f64 y #s(literal 1/2 binary64)) x) |
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* y (+ (* -1 x) (* 1/2 (/ x y)))) |
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) |
(* -1 y) |
(neg.f64 y) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))) |
(*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) y (/.f64 (neg.f64 y) x)) |
(/ y x) |
(/.f64 y x) |
(* y (- (/ 1 x) (* 1/2 (/ 1 (* x y))))) |
(fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)) |
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* -1 (* y (+ x (* -1/2 (/ x y))))) |
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) y) x) y) |
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))))) |
(*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) |
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x)))) |
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) y (/.f64 (neg.f64 y) x)) |
(* -1 (* y (- (* 1/2 (/ 1 (* x y))) (/ 1 x)))) |
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) y) x) (/.f64 #s(literal 1 binary64) x)) (neg.f64 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 234 |
| 0 | 68 | 234 |
| 0 | 276 | 222 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(neg.f64 x) |
(log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) |
#s(approx (exp x) #s(literal 1 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))) |
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) |
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
(log1p.f64 #s(literal 1 binary64)) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
(log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) |
#s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x) |
(*.f64 x y) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x))) (*.f64 (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))))) (-.f64 (*.f64 y (neg.f64 x)) (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) #s(literal 3 binary64))) (fma.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x)) (-.f64 (*.f64 (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) (*.f64 (*.f64 y (neg.f64 x)) (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))))))) |
(fma.f64 y (neg.f64 x) (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(+.f64 (*.f64 y (neg.f64 x)) (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
(+.f64 (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) (*.f64 y (neg.f64 x))) |
(neg.f64 x) |
(log1p.f64 #s(approx (exp x) #s(literal 1 binary64))) |
(log.f64 (+.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
#s(approx (exp x) #s(literal 1 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(*.f64 x (-.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (-.f64 (pow.f64 #s(literal 1/2 binary64) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (fma.f64 y y (*.f64 #s(literal 1/2 binary64) y)))) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x)) |
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x) |
(*.f64 (*.f64 x x) (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) |
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)) |
(/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) |
(/.f64 (-.f64 (pow.f64 #s(literal 1/8 binary64) #s(literal 3 binary64)) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 3 binary64))) (+.f64 #s(literal 1/64 binary64) (fma.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (*.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))))) |
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64)))) (-.f64 (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 (log1p.f64 #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) (-.f64 (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64))) (*.f64 (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) (log1p.f64 #s(literal 1 binary64)))))) |
(fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 x #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (log1p.f64 #s(literal 1 binary64)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
(log1p.f64 #s(literal 1 binary64)) |
(log.f64 #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))))) (*.f64 (*.f64 y x) (*.f64 y x))) (+.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 y x))) |
(/.f64 (-.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (fma.f64 (*.f64 y x) (*.f64 y x) (*.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 y x))))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 y x)) |
(+.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 y (neg.f64 x))) |
(log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) |
#s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)) #s(literal 4 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 3 binary64))) (fma.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64))))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)) |
(fma.f64 #s(literal 2 binary64) #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)) |
(fma.f64 x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #s(literal 2 binary64)) |
(+.f64 (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(+.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) |
(+.f64 #s(literal 2 binary64) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)) |
(/.f64 (neg.f64 (+.f64 #s(literal -1/2 binary64) y)) (neg.f64 x)) |
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x) |
(+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x)) |
(*.f64 y x) |
(*.f64 x y) |
Compiled 3 069 to 455 computations (85.2% saved)
20 alts after pruning (14 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 100 | 11 | 111 |
| Fresh | 0 | 3 | 3 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 2 | 2 |
| Total | 101 | 20 | 121 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
| ✓ | 94.0% | (fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
| ✓ | 84.2% | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
| ▶ | 60.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
| ✓ | 58.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
| ✓ | 43.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
| 20.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) | |
| ✓ | 31.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
| 31.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) | |
| ▶ | 3.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
| ▶ | 31.2% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
| 11.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) | |
| 16.0% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) | |
| 16.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) | |
| 5.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) | |
| 5.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) | |
| ▶ | 24.1% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
| ▶ | 23.8% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
| 5.4% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) | |
| 58.1% | #s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
Compiled 1 102 to 772 computations (29.9% saved)
| 1× | egg-herbie |
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)) | |
| cost-diff | 0 | #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) | |
| cost-diff | 2 | (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) | |
| cost-diff | 0 | (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) | |
| cost-diff | 0 | #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)) | |
| cost-diff | 0 | #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) | |
| cost-diff | 0 | #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) | |
| cost-diff | 0 | (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) | |
| cost-diff | 0 | #s(approx (- 1/2 y) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) | |
| cost-diff | 0 | #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) | |
| cost-diff | 0 | #s(approx (- 1/2 y) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 462 |
| 0 | 75 | 458 |
| 1 | 123 | 458 |
| 2 | 252 | 458 |
| 3 | 593 | 458 |
| 4 | 1526 | 450 |
| 5 | 6792 | 450 |
| 0 | 8070 | 432 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
#s(literal 1/8 binary64) |
x |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) |
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))) |
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)) |
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) |
(/.f64 (neg.f64 y) x) |
(neg.f64 y) |
y |
x |
(*.f64 x x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))) |
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)) |
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) |
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y))) |
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)) |
(*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) |
(/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) |
(fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) |
#s(literal 1/8 binary64) |
x |
#s(literal 1/2 binary64) |
y |
(neg.f64 x) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
#s(literal 1/8 binary64) |
x |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(log1p.f64 #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) |
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x))))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)))) |
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x))) |
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) |
(/.f64 (neg.f64 y) x) |
(neg.f64 y) |
y |
x |
(*.f64 x x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x (neg.f64 x)) y)))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x (neg.f64 x)) y))) |
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)) |
#s(approx (* (- 1/2 y) x) (*.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x (neg.f64 x)) y)) |
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) |
(*.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x (neg.f64 x)) y) |
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64)) y) x)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64)) y) x))) |
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)) |
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64)) y) x)) |
(*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) |
(*.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64)) y) x) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) |
(/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) |
(fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) |
#s(literal 1/8 binary64) |
x |
#s(literal 1/2 binary64) |
y |
(neg.f64 x) |
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.1171875 | (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) | |
| accuracy | 2.3836948518161516 | (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) | |
| accuracy | 12.985524366857009 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) | |
| accuracy | 35.91404446294096 | #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y))) | |
| accuracy | 0.20281039438061302 | (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) | |
| accuracy | 4.3252730395302805 | (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) | |
| accuracy | 8.325468006631157 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) | |
| accuracy | 35.92966946295431 | #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))) | |
| accuracy | 12.985524366857009 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) | |
| accuracy | 23.960267319413312 | (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)) | |
| accuracy | 35.91404446294096 | #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))) | |
| accuracy | 40.25358740019652 | #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) | |
| accuracy | 0.0078125 | (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) | |
| accuracy | 8.325468006631157 | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) | |
| accuracy | 27.885365742453708 | #s(approx (- 1/2 y) #s(literal 1/2 binary64)) | |
| accuracy | 35.92966946295431 | #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) | |
| accuracy | 0.00390625 | (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) | |
| accuracy | 0.01171875 | (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64))) | |
| accuracy | 12.985524366857009 | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) | |
| accuracy | 27.885365742453708 | #s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
| 99.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
Compiled 253 to 37 computations (85.4% saved)
ival-mult: 15.0ms (34.5% of total)ival-div: 7.0ms (16.1% of total)ival-add: 7.0ms (16.1% of total)ival-sub: 5.0ms (11.5% of total)ival-log1p: 5.0ms (11.5% of total)ival-exp: 2.0ms (4.6% of total)ival-neg: 2.0ms (4.6% of total)exact: 1.0ms (2.3% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) |
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))) |
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)) |
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))) |
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)) |
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) |
(*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y))) |
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) |
| Outputs |
|---|
(log 2) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(- 1/2 y) |
(- (+ 1/2 (* 1/8 x)) y) |
(* x (- 1/2 y)) |
(* x (- (+ 1/2 (* 1/8 x)) y)) |
(/ (- 1/2 y) x) |
(/ (- (+ 1/2 (* 1/8 x)) y) x) |
(* x (* y (- (* 1/2 (/ 1 y)) 1))) |
(* x (+ (* 1/8 x) (* y (- (* 1/2 (/ 1 y)) 1)))) |
(* 1/2 (/ x y)) |
(* x (- (* 1/2 (/ 1 y)) 1)) |
(* x (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(* -1 (* x y)) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(* 1/8 (pow x 2)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
(* 1/8 x) |
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
1/8 |
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)) |
(* (pow x 2) (+ 1/8 (/ (* y (- (* 1/2 (/ 1 y)) 1)) x))) |
(* 1/8 (/ (pow x 2) y)) |
(* (pow x 2) (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8))) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x)))) |
(+ 1/8 (* -1 (/ (- y 1/2) x))) |
(* -1 (* x (* y (- 1 (* 1/2 (/ 1 y)))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (* y (- 1 (* 1/2 (/ 1 y)))) x)))) |
(* (pow x 2) (+ (* -1 (/ (- 1 (* 1/2 (/ 1 y))) x)) (* 1/8 (/ 1 y)))) |
(log (+ 1 (exp x))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(+ 1/2 (* 1/8 x)) |
(+ 1/2 (+ (* -1 y) (* 1/8 x))) |
1/2 |
(+ 1/2 (* -1 y)) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
(* 1/2 x) |
(+ (* -1 (* x y)) (* 1/2 x)) |
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) |
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))) |
(+ 1/8 (* 1/2 (/ 1 x))) |
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x)))) |
(* x (+ 1/2 (* 1/8 x))) |
(+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))) |
(/ (* x (+ 1/2 (* 1/8 x))) y) |
(/ (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))) y) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(* -1 y) |
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(* y (+ (* -1 x) (* 1/2 (/ x y)))) |
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))) |
(* -1 (/ y x)) |
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(* y (+ (* -1 x) (/ (* x (+ 1/2 (* 1/8 x))) y))) |
(* -1 x) |
(- (/ (* x (+ 1/2 (* 1/8 x))) y) x) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y))))) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(* -1 (* y (+ x (* -1/2 (/ x y))))) |
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))))) |
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x)))) |
(* -1 (* y (+ x (* -1 (/ (* x (+ 1/2 (* 1/8 x))) y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 10.0ms | x | @ | inf | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (* (/ x y) 1/2) (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x))) |
| 5.0ms | x | @ | -inf | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (* (/ x y) 1/2) (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x))) |
| 5.0ms | y | @ | 0 | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (* (/ x y) 1/2) (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x))) |
| 5.0ms | y | @ | -inf | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (* (/ x y) 1/2) (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x))) |
| 4.0ms | y | @ | inf | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log (+ 1 1))) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (* (/ x y) 1/2) (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 189 | 673 |
| 1 | 655 | 665 |
| 2 | 2362 | 651 |
| 0 | 8287 | 601 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log 2) |
(+ (log 2) (* x (- 1/2 y))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(- 1/2 y) |
(- (+ 1/2 (* 1/8 x)) y) |
(* x (- 1/2 y)) |
(* x (- (+ 1/2 (* 1/8 x)) y)) |
(/ (- 1/2 y) x) |
(/ (- (+ 1/2 (* 1/8 x)) y) x) |
(* x (* y (- (* 1/2 (/ 1 y)) 1))) |
(* x (+ (* 1/8 x) (* y (- (* 1/2 (/ 1 y)) 1)))) |
(* 1/2 (/ x y)) |
(* x (- (* 1/2 (/ 1 y)) 1)) |
(* x (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(* -1 (* x y)) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(* 1/8 (pow x 2)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
(* 1/8 x) |
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
1/8 |
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)) |
(* (pow x 2) (+ 1/8 (/ (* y (- (* 1/2 (/ 1 y)) 1)) x))) |
(* 1/8 (/ (pow x 2) y)) |
(* (pow x 2) (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8))) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x)))) |
(+ 1/8 (* -1 (/ (- y 1/2) x))) |
(* -1 (* x (* y (- 1 (* 1/2 (/ 1 y)))))) |
(* (pow x 2) (+ 1/8 (* -1 (/ (* y (- 1 (* 1/2 (/ 1 y)))) x)))) |
(* (pow x 2) (+ (* -1 (/ (- 1 (* 1/2 (/ 1 y))) x)) (* 1/8 (/ 1 y)))) |
(log (+ 1 (exp x))) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(+ 1/2 (* 1/8 x)) |
(+ 1/2 (+ (* -1 y) (* 1/8 x))) |
1/2 |
(+ 1/2 (* -1 y)) |
(+ (log 2) (* 1/2 x)) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
(* 1/2 x) |
(+ (* -1 (* x y)) (* 1/2 x)) |
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) |
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))) |
(+ 1/8 (* 1/2 (/ 1 x))) |
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x)))) |
(* x (+ 1/2 (* 1/8 x))) |
(+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))) |
(/ (* x (+ 1/2 (* 1/8 x))) y) |
(/ (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))) y) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(* -1 y) |
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(* y (+ (* -1 x) (* 1/2 (/ x y)))) |
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))) |
(* -1 (/ y x)) |
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(* y (+ (* -1 x) (/ (* x (+ 1/2 (* 1/8 x))) y))) |
(* -1 x) |
(- (/ (* x (+ 1/2 (* 1/8 x))) y) x) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y))))) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(* -1 (* y (+ x (* -1/2 (/ x y))))) |
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))))) |
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x)))) |
(* -1 (* y (+ x (* -1 (/ (* x (+ 1/2 (* 1/8 x))) y))))) |
| Outputs |
|---|
(log 2) |
(log1p.f64 #s(literal 1 binary64)) |
(+ (log 2) (* x (- 1/2 y))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(- 1/2 y) |
(-.f64 #s(literal 1/2 binary64) y) |
(- (+ 1/2 (* 1/8 x)) y) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
(* x (- 1/2 y)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* x (- (+ 1/2 (* 1/8 x)) y)) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(/ (- 1/2 y) x) |
(/.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(/ (- (+ 1/2 (* 1/8 x)) y) x) |
(/.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(* x (* y (- (* 1/2 (/ 1 y)) 1))) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* x (+ (* 1/8 x) (* y (- (* 1/2 (/ 1 y)) 1)))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(* 1/2 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(* x (- (* 1/2 (/ 1 y)) 1)) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x) |
(* x (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* x (- (/ (log (+ 1 (exp x))) x) y)) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(* 1/8 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/8 binary64)) |
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) (*.f64 x x)) |
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x))) |
(*.f64 (*.f64 (-.f64 (/.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) #s(literal -1/8 binary64)) x) x) |
(* 1/8 x) |
(*.f64 #s(literal 1/8 binary64) x) |
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))) |
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) x) |
(* x (- (+ 1/2 (/ (log 2) x)) y)) |
(*.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) |
1/8 |
#s(literal 1/8 binary64) |
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)) |
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) |
(* (pow x 2) (+ 1/8 (/ (* y (- (* 1/2 (/ 1 y)) 1)) x))) |
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) (*.f64 x x)) |
(* 1/8 (/ (pow x 2) y)) |
(*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64)) |
(* (pow x 2) (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x)) |
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x) |
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x)))) |
(*.f64 (*.f64 (-.f64 (/.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) #s(literal -1/8 binary64)) x) x) |
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8))) |
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) x) |
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))) |
(*.f64 (-.f64 (-.f64 (/.f64 (log1p.f64 #s(literal 1 binary64)) x) #s(literal -1/2 binary64)) y) x) |
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) (*.f64 x x)) |
(+ 1/8 (* -1 (/ (- y 1/2) x))) |
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) |
(* -1 (* x (* y (- 1 (* 1/2 (/ 1 y)))))) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* (pow x 2) (+ 1/8 (* -1 (/ (* y (- 1 (* 1/2 (/ 1 y)))) x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) (*.f64 x x)) |
(* (pow x 2) (+ (* -1 (/ (- 1 (* 1/2 (/ 1 y))) x)) (* 1/8 (/ 1 y)))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x)) |
(log (+ 1 (exp x))) |
(log1p.f64 (exp.f64 x)) |
(+ (log (+ 1 (exp x))) (* -1 (* x y))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(+ (log 2) (* x (+ 1/2 (* 1/8 x)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(+ 1/2 (* 1/8 x)) |
(fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) |
(+ 1/2 (+ (* -1 y) (* 1/8 x))) |
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* -1 y)) |
(-.f64 #s(literal 1/2 binary64) y) |
(+ (log 2) (* 1/2 x)) |
(fma.f64 #s(literal 1/2 binary64) x (log1p.f64 #s(literal 1 binary64))) |
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(+ (* -1 (* x y)) (* 1/2 x)) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) x) x) |
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))) |
(*.f64 x (-.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) x) y)) |
(+ 1/8 (* 1/2 (/ 1 x))) |
(-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) |
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x)))) |
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) |
(* x (+ 1/2 (* 1/8 x))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x) |
(+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(/ (* x (+ 1/2 (* 1/8 x))) y) |
(*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) |
(/ (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))) y) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) y) |
(* y (- (/ (log (+ 1 (exp x))) y) x)) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(* -1 y) |
(neg.f64 y) |
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)) |
(neg.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal -1/2 binary64)) #s(literal 1 binary64) y)) |
(* y (- (* 1/2 (/ 1 y)) 1)) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y) |
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(* y (+ (* -1 x) (* 1/2 (/ x y)))) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))) |
(*.f64 x (-.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) x) y)) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x))) |
(neg.f64 (fma.f64 (-.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 1/8 binary64)) #s(literal 1 binary64) (/.f64 y x))) |
(* y (+ (* -1 x) (/ (* x (+ 1/2 (* 1/8 x))) y))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
(* -1 x) |
(neg.f64 x) |
(- (/ (* x (+ 1/2 (* 1/8 x))) y) x) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) y) |
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))) |
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))) |
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y))))) |
(neg.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal -1/2 binary64)) #s(literal 1 binary64) y)) |
(* -1 (* y (- 1 (* 1/2 (/ 1 y))))) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y) |
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))) |
(* -1 (* y (+ x (* -1/2 (/ x y))))) |
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x) |
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y))))) |
(*.f64 x (-.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) x) y)) |
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x)))) |
(neg.f64 (fma.f64 (-.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 1/8 binary64)) #s(literal 1 binary64) (/.f64 y x))) |
(* -1 (* y (+ x (* -1 (/ (* x (+ 1/2 (* 1/8 x))) y))))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 409 |
| 0 | 75 | 405 |
| 0 | 281 | 387 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) |
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))) |
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)) |
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))) |
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)) |
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) |
(*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y))) |
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x)) (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64)))) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log1p.f64 #s(literal 1 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 3 binary64)) (pow.f64 (log1p.f64 #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (-.f64 (*.f64 (log1p.f64 #s(literal 1 binary64)) (log1p.f64 #s(literal 1 binary64))) (*.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log1p.f64 #s(literal 1 binary64)))))) |
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64))) |
(fma.f64 x (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log1p.f64 #s(literal 1 binary64))) |
(+.f64 (log1p.f64 #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x)) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/8 binary64) x) (*.f64 #s(literal 1/8 binary64) x)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))) (-.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 3 binary64)) (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/8 binary64) x) (*.f64 #s(literal 1/8 binary64) x) (-.f64 (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(approx (- 1/2 y) #s(literal 1/2 binary64))) (*.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))))) |
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
(fma.f64 x #s(literal 1/8 binary64) #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
(+.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
(+.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/8 binary64) x)) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)) |
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x) |
(*.f64 x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x))))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)))) |
(*.f64 (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) x) x) |
(*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x))) |
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)) |
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))) |
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)) |
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y) |
(*.f64 y (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y) |
(*.f64 y (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y))) |
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(/.f64 (*.f64 x #s(literal 1/2 binary64)) y) |
(/.f64 (-.f64 (*.f64 (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) (neg.f64 x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) (-.f64 (*.f64 x x) (*.f64 (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) (neg.f64 x))))) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) |
(fma.f64 x (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) (neg.f64 x)) |
(+.f64 (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x) (neg.f64 x)) |
(+.f64 (neg.f64 x) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) |
Compiled 3 573 to 401 computations (88.8% saved)
23 alts after pruning (14 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 89 | 6 | 95 |
| Fresh | 1 | 8 | 9 |
| Picked | 1 | 4 | 5 |
| Done | 1 | 5 | 6 |
| Total | 92 | 23 | 115 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 94.0% | (fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
| ✓ | 84.2% | (-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
| ✓ | 60.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
| ✓ | 58.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
| ✓ | 43.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
| 58.9% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x))) | |
| 58.1% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) | |
| 20.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) | |
| ✓ | 31.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
| 31.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) | |
| ✓ | 3.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
| ✓ | 31.2% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
| 11.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) | |
| 16.0% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) | |
| 16.7% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) | |
| 5.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) | |
| 5.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) | |
| ✓ | 24.1% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
| 5.4% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) | |
| 5.3% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) | |
| 20.0% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) | |
| 31.2% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) | |
| 5.5% | #s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
Compiled 1 758 to 738 computations (58% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x))) |
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Outputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
3 calls:
| 8.0ms | y |
| 8.0ms | x |
| 7.0ms | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 11 to 12 computations (-9.1% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))) (*.f64 x y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64)))) |
3 calls:
| 36.0ms | x |
| 8.0ms | y |
| 7.0ms | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.3% | 2 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| 99.7% | 2 | x |
| 94.0% | 1 | y |
Compiled 11 to 12 computations (-9.1% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log1p.f64 #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64)))) |
1 calls:
| 7.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 2 | x |
Compiled 1 to 2 computations (-100% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
(fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64)))) |
1 calls:
| 6.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.0% | 2 | x |
Compiled 1 to 2 computations (-100% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)) |
1 calls:
| 6.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.0% | 2 | x |
Compiled 1 to 2 computations (-100% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
2 calls:
| 6.0ms | x |
| 5.0ms | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.5% | 3 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| 85.9% | 2 | x |
Compiled 10 to 10 computations (0% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
1 calls:
| 5.0ms | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.0% | 3 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
Compiled 9 to 8 computations (11.1% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/8 binary64))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) x (neg.f64 x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (fma.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) y) x) y (/.f64 y x)))) (*.f64 x x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 #s(approx (+ (* (/ (+ (* 1/8 x) 1/2) y) x) (neg x)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (/.f64 #s(literal 1 binary64) x)) (*.f64 x x))) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log (+ 1 1))) (*.f64 (/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (+.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x)))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
3 calls:
| 5.0ms | x |
| 5.0ms | y |
| 5.0ms | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 43.5% | 1 | x |
| 43.5% | 1 | y |
| 43.5% | 1 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
Compiled 11 to 12 computations (-9.1% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
3 calls:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.5% | 1 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| 3.5% | 1 | x |
| 3.5% | 1 | y |
Compiled 11 to 12 computations (-9.1% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 16.0ms | -5.106658481665346e+40 | -9702.157820860619 |
| 9.0ms | 176× | 0 | valid |
Compiled 386 to 330 computations (14.5% saved)
ival-exp: 2.0ms (37.1% of total)ival-sub: 1.0ms (18.6% of total)ival-log1p: 1.0ms (18.6% of total)ival-mult: 1.0ms (18.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | -5.106658481665346e+40 | -9702.157820860619 |
Compiled 353 to 308 computations (12.7% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | -5.106658481665346e+40 | -9702.157820860619 |
Compiled 265 to 242 computations (8.7% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | -5.106658481665346e+40 | -9702.157820860619 |
Compiled 287 to 264 computations (8% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.693267601768939 | 0.7204212665307489 |
| 0.0ms | 3.3572735064598995e-65 | 0.6931413563001118 |
Compiled 12 to 13 computations (-8.3% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.693267601768939 | 0.7204212665307489 |
| 0.0ms | 3.3572735064598995e-65 | 0.6931413563001118 |
Compiled 12 to 13 computations (-8.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 285 |
| 1 | 93 | 285 |
| 2 | 130 | 285 |
| 3 | 226 | 285 |
| 4 | 816 | 285 |
| 5 | 6914 | 285 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))) |
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 5928554968950589/118571099379011784113736688648896417641748464297615937576404566024103044751294464 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 3152519739159347/4503599627370496 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)))) |
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 5928554968950589/118571099379011784113736688648896417641748464297615937576404566024103044751294464 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 3152519739159347/4503599627370496 binary64)) #s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
| Outputs |
|---|
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log1p.f64 #s(literal 1 binary64))))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log1p.f64 #s(literal 1 binary64))))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (fma.f64 (neg.f64 x) y (log1p.f64 #s(approx (exp x) #s(literal 1 binary64))))) |
(if (<=.f64 x #s(literal -10000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))) |
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 5928554968950589/118571099379011784113736688648896417641748464297615937576404566024103044751294464 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 3152519739159347/4503599627370496 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)))) |
(if (or (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 5928554968950589/118571099379011784113736688648896417641748464297615937576404566024103044751294464 binary64)) (not (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 3152519739159347/4503599627370496 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log1p.f64 #s(literal 1 binary64))))) |
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 5928554968950589/118571099379011784113736688648896417641748464297615937576404566024103044751294464 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 3152519739159347/4503599627370496 binary64)) #s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log1p.f64 #s(literal 1 binary64))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)))) |
(if (or (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 5928554968950589/118571099379011784113736688648896417641748464297615937576404566024103044751294464 binary64)) (not (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 3152519739159347/4503599627370496 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 #s(literal 1 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log (+ 1 1))) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 159 | 548 |
| 1 | 555 | 519 |
| 2 | 1942 | 514 |
| 3 | 6802 | 514 |
| 0 | 8110 | 452 |
| 0 | 8 | 20 |
| 0 | 13 | 20 |
| 1 | 49 | 20 |
| 0 | 357 | 16 |
| 0 | 67 | 193 |
| 1 | 212 | 192 |
| 2 | 673 | 192 |
| 3 | 2213 | 192 |
| 4 | 5571 | 192 |
| 0 | 8531 | 158 |
| 0 | 196 | 719 |
| 1 | 698 | 689 |
| 2 | 2484 | 657 |
| 0 | 8190 | 588 |
| 1× | fuel |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 287 to 62 computations (78.4% saved)
Compiled 644 to 176 computations (72.7% saved)
Loading profile data...