
Time bar (total: 3.9s)
| 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)
| 1.5s | 2 655× | 5 | exit |
| 579.0ms | 8 256× | 0 | valid |
ival-log1p: 844.0ms (54.5% of total)adjust: 295.0ms (19.1% of total)ival-exp: 159.0ms (10.3% of total)ival-sub: 125.0ms (8.1% of total)ival-mult: 121.0ms (7.8% of total)ival-assert: 4.0ms (0.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 5 | 79 | (-1.646438027544341e+36 2.497247936358956e+263) | 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 | 80 | 0 |
log.f64 | (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) | oflow-rescue | 4 | 0 |
| ↳ | (exp.f64 x) | overflow | 4 | |
| ↳ | (+.f64 #s(literal 1 binary64) (exp.f64 x)) | overflow | 4 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 5 | 0 |
| - | 79 | 172 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 5 | 0 | 0 |
| - | 79 | 0 | 172 |
| number | freq |
|---|---|
| 0 | 172 |
| 1 | 84 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 41.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-exp: 8.0ms (31.4% of total)ival-mult: 6.0ms (23.5% of total)ival-log1p: 5.0ms (19.6% of total)ival-add: 3.0ms (11.8% of total)ival-sub: 2.0ms (7.8% 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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 60 |
| 1 | 54 | 58 |
| 2 | 130 | 58 |
| 3 | 294 | 58 |
| 4 | 1178 | 58 |
| 5 | 5705 | 58 |
| 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 |
|---|---|---|
| ▶ | 98.2% | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
Compiled 9 to 8 computations (11.1% saved)
| 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 |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log 2))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- 1/2 y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log 2))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* 1/2 x)))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* 1/8 x)))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 2)) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 2 x))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 2 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx (exp x) #s(hole binary64 1)) |
#s(approx (exp x) #s(hole binary64 (+ 1 x))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* x (- (/ (log (+ 1 (exp x))) x) y)))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 1 (exp x)))) |
#s(approx (exp x) #s(hole binary64 (exp x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log (+ 1 (exp x))) (* -1 (* x y))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* y (- (/ (log (+ 1 (exp x))) y) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 29.0ms | x | @ | inf | ((- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) 1 (exp x) x (* x y) y) |
| 23.0ms | x | @ | -inf | ((- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) 1 (exp x) x (* x y) y) |
| 3.0ms | y | @ | 0 | ((- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) 1 (exp x) x (* x y) y) |
| 2.0ms | x | @ | 0 | ((- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) 1 (exp x) x (* x y) y) |
| 2.0ms | y | @ | -inf | ((- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) 1 (exp x) x (* x y) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 102 | 433 |
| 0 | 108 | 424 |
| 1 | 562 | 422 |
| 0 | 4885 | 350 |
| 1× | iter limit |
| 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 |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log 2))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- 1/2 y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log 2))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* 1/2 x)))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* 1/8 x)))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 2)) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 2 x))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 2 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx (exp x) #s(hole binary64 1)) |
#s(approx (exp x) #s(hole binary64 (+ 1 x))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* x (- (/ (log (+ 1 (exp x))) x) y)))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (+ 1 (exp x)) #s(hole binary64 (+ 1 (exp x)))) |
#s(approx (exp x) #s(hole binary64 (exp x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log (+ 1 (exp x))) (* -1 (* x y))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* y (- (/ (log (+ 1 (exp x))) y) x)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))))) |
| Outputs |
|---|
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))) (-.f64 (*.f64 (neg.f64 x) y) (log1p.f64 (exp.f64 x)))) |
(/.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))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (*.f64 (*.f64 (neg.f64 x) y) (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 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
(fma.f64 #s(literal -1 binary64) (*.f64 y x) (log1p.f64 (exp.f64 x))) |
(fma.f64 (*.f64 y x) #s(literal -1 binary64) (log1p.f64 (exp.f64 x))) |
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x))) |
(fma.f64 x (neg.f64 y) (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 (*.f64 (neg.f64 x) y) #s(literal -1 binary64))) |
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 y 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 (neg.f64 x) y) #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 (*.f64 (neg.f64 x) y) (log1p.f64 (exp.f64 x))) |
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) y)) |
(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 (expm1.f64 (*.f64 #s(literal 2 binary64) 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 (exp.f64 x) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal 1 binary64)) |
(-.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)) |
#s(literal 1 binary64) |
(*.f64 (exp.f64 x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (exp.f64 x)) |
(/.f64 (*.f64 #s(literal 2 binary64) (exp.f64 x)) #s(literal 2 binary64)) |
(/.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))))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (exp.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)) |
x |
(*.f64 (*.f64 y x) #s(literal 1 binary64)) |
(*.f64 y x) |
(*.f64 x y) |
(*.f64 #s(literal 1 binary64) (*.f64 y x)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) y)) |
y |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log.f64 #s(literal 2 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (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 (log.f64 #s(literal 2 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x 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 (log.f64 #s(literal 2 binary64)))) |
#s(approx (log (+ 1 (exp x))) (log.f64 #s(literal 2 binary64))) |
#s(approx (log (+ 1 (exp x))) (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64)))) |
#s(approx (log (+ 1 (exp x))) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))) |
#s(approx (log (+ 1 (exp x))) (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 (log.f64 #s(literal 2 binary64)))) |
#s(approx (+ 1 (exp x)) #s(literal 2 binary64)) |
#s(approx (+ 1 (exp x)) (+.f64 #s(literal 2 binary64) x)) |
#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 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 2 binary64))) |
#s(approx (exp x) #s(literal 1 binary64)) |
#s(approx (exp x) (-.f64 x #s(literal -1 binary64))) |
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64))) |
#s(approx (exp 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))) |
#s(approx x x) |
#s(approx (* x y) (*.f64 y x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)) |
#s(approx (log (+ 1 (exp x))) (log1p.f64 (exp.f64 x))) |
#s(approx (+ 1 (exp x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) |
#s(approx (exp x) (exp.f64 x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) (+.f64 (/.f64 (log1p.f64 (exp.f64 x)) (neg.f64 x)) y))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))) |
#s(approx y y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (+.f64 (/.f64 (log1p.f64 (exp.f64 x)) (neg.f64 y)) x) (neg.f64 y))) |
Compiled 1 389 to 326 computations (76.5% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 90 | 2 | 92 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 91 | 2 | 93 |
| Status | Accuracy | Program |
|---|---|---|
| 98.5% | (fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) | |
| ▶ | 85.6% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
Compiled 24 to 20 computations (16.7% saved)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log 2))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- 1/2 y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (log 2))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (+ (log 2) (* x (- 1/2 y))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* x (- (/ (log (+ 1 (exp x))) x) y)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* x (- 1/2 y)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* x (- (+ 1/2 (/ (log 2) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log (+ 1 (exp x))) (* -1 (* x y))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (+ (log 2) (* 1/2 x)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))))) |
#s(approx (- 1/2 y) #s(hole binary64 1/2)) |
#s(approx (- 1/2 y) #s(hole binary64 (+ 1/2 (* -1 y)))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* y (- (/ (log (+ 1 (exp x))) y) x)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))))) |
#s(approx (- 1/2 y) #s(hole binary64 (* -1 y))) |
#s(approx (- 1/2 y) #s(hole binary64 (* y (- (* 1/2 (/ 1 y)) 1)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))))) |
#s(approx (- 1/2 y) #s(hole binary64 (* -1 (* y (- 1 (* 1/2 (/ 1 y))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) 1/2 y x (log 2) 2) |
| 3.0ms | y | @ | 0 | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) 1/2 y x (log 2) 2) |
| 3.0ms | x | @ | -inf | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) 1/2 y x (log 2) 2) |
| 2.0ms | y | @ | -inf | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) 1/2 y x (log 2) 2) |
| 2.0ms | x | @ | inf | ((- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) 1/2 y x (log 2) 2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 114 | 491 |
| 0 | 116 | 463 |
| 1 | 624 | 456 |
| 0 | 5434 | 411 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))) |
(-.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log 2))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- 1/2 y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (log 2))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (+ (log 2) (* x (- 1/2 y))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* x (- (/ (log (+ 1 (exp x))) x) y)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* x (- 1/2 y)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* x (- (+ 1/2 (/ (log 2) x)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y)))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (+ (log (+ 1 (exp x))) (* -1 (* x y))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (+ (log 2) (* 1/2 x)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (+ (log 2) (+ (* -1 (* x y)) (* 1/2 x))))) |
#s(approx (- 1/2 y) #s(hole binary64 1/2)) |
#s(approx (- 1/2 y) #s(hole binary64 (+ 1/2 (* -1 y)))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* y (- (/ (log (+ 1 (exp x))) y) x)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y)))))) |
#s(approx (- 1/2 y) #s(hole binary64 (* -1 y))) |
#s(approx (- 1/2 y) #s(hole binary64 (* y (- (* 1/2 (/ 1 y)) 1)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x)))))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y))))))) |
#s(approx (- 1/2 y) #s(hole binary64 (* -1 (* y (- 1 (* 1/2 (/ 1 y))))))) |
| Outputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
(/.f64 (-.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) (-.f64 #s(literal 1/2 binary64) y)) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 1/2 binary64)) (log.f64 #s(literal 1/2 binary64)) (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (*.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1/2 binary64) y)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64)))) |
(/.f64 (-.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)))) |
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))) |
(fma.f64 x (-.f64 #s(literal 1/2 binary64) y) (log.f64 #s(literal 2 binary64))) |
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))))) |
(-.f64 (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))) (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))) |
(-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1/2 binary64) y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))))) |
(+.f64 (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (fma.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))) |
(+.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
(/.f64 (-.f64 (*.f64 y y) #s(literal 1/4 binary64)) (-.f64 (neg.f64 y) #s(literal 1/2 binary64))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y))) (neg.f64 (+.f64 #s(literal 1/2 binary64) y))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64)))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) y)))) |
(/.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64))) |
(fma.f64 #s(literal -1 binary64) y #s(literal 1/2 binary64)) |
(fma.f64 y #s(literal -1 binary64) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal 1/2 binary64) y)) (/.f64 (*.f64 y y) (+.f64 #s(literal 1/2 binary64) y))) |
(-.f64 (/.f64 #s(literal 1/8 binary64) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64)))) |
(-.f64 (neg.f64 y) #s(literal -1/2 binary64)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 y) #s(literal -1 binary64))) |
(-.f64 #s(literal 1/2 binary64) y) |
(+.f64 (/.f64 #s(literal 1/8 binary64) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64))) (/.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64)))) |
(+.f64 (neg.f64 y) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (neg.f64 y)) |
#s(literal 1/2 binary64) |
y |
x |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log.f64 #s(literal 2 binary64))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (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 (log.f64 #s(literal 2 binary64)))) |
#s(approx (- (log (+ 1 (exp x))) (* x 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 (log.f64 #s(literal 2 binary64)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (log.f64 #s(literal 2 binary64))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
#s(approx x x) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) (+.f64 (/.f64 (log1p.f64 (exp.f64 x)) (neg.f64 x)) y))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (neg.f64 x) (neg.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y)))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x))) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64)))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (fma.f64 (neg.f64 y) x (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64))))) |
#s(approx (- 1/2 y) #s(literal 1/2 binary64)) |
#s(approx (- 1/2 y) (-.f64 #s(literal 1/2 binary64) y)) |
#s(approx y y) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (neg.f64 x) y)) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64))) y) x) y)) |
#s(approx (- 1/2 y) (neg.f64 y)) |
#s(approx (- 1/2 y) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)) |
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (+.f64 (/.f64 (log1p.f64 (exp.f64 x)) (neg.f64 y)) x) (neg.f64 y))) |
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 x (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64))) y)) (neg.f64 y))) |
#s(approx (- 1/2 y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) (neg.f64 y))) |
Compiled 1 705 to 256 computations (85% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 67 | 0 | 67 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 67 | 2 | 69 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.5% | (fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
| ✓ | 85.6% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
Compiled 24 to 20 computations (16.7% saved)
| Inputs |
|---|
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
(neg.f64 y) |
y |
x |
(log1p.f64 (exp.f64 x)) |
(exp.f64 x) |
| Outputs |
|---|
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (log 2))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* -1 y)))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log 2))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* 1/2 x)))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* 1/8 x)))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))))) |
#s(approx (exp x) #s(hole binary64 1)) |
#s(approx (exp x) #s(hole binary64 (+ 1 x))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (exp x) #s(hole binary64 (exp x))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log (+ 1 (exp x))) (* -1 (* x y))))) |
#s(approx (neg y) #s(hole binary64 (* -1 y))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | inf | ((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) y x (log (+ 1 (exp x))) (exp x)) |
| 7.0ms | x | @ | -inf | ((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) y x (log (+ 1 (exp x))) (exp x)) |
| 2.0ms | y | @ | 0 | ((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) y x (log (+ 1 (exp x))) (exp x)) |
| 1.0ms | y | @ | -inf | ((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) y x (log (+ 1 (exp x))) (exp x)) |
| 1.0ms | y | @ | inf | ((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) y x (log (+ 1 (exp x))) (exp x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 97 | 327 |
| 0 | 101 | 314 |
| 1 | 595 | 307 |
| 0 | 5247 | 290 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
(neg.f64 y) |
y |
x |
(log1p.f64 (exp.f64 x)) |
(exp.f64 x) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (log 2))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* -1 y)))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x))))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2)))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log 2))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* 1/2 x)))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* 1/8 x)))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))))))) |
#s(approx (exp x) #s(hole binary64 1)) |
#s(approx (exp x) #s(hole binary64 (+ 1 x))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x))))) |
#s(approx (log (+ 1 (exp x))) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (exp x) #s(hole binary64 (exp x))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x))))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (log (+ 1 (exp x))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (+ (log (+ 1 (exp x))) (* -1 (* x y))))) |
#s(approx (neg y) #s(hole binary64 (* -1 y))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y))))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y))))))) |
| Outputs |
|---|
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 x y) #s(literal 3 binary64))) (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (fma.f64 (*.f64 y y) (*.f64 x x) (*.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64)))) (neg.f64 (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log1p.f64 (exp.f64 x)) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (neg.f64 y) x) (-.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))) (-.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x)))) |
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64))) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64))) (fma.f64 (log1p.f64 (exp.f64 x)) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64)))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 y) x) (-.f64 (*.f64 (neg.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 (*.f64 x y) #s(literal -1 binary64) (log1p.f64 (exp.f64 x))) |
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
(fma.f64 #s(literal -1 binary64) (*.f64 x y) (log1p.f64 (exp.f64 x))) |
(fma.f64 x (neg.f64 y) (log1p.f64 (exp.f64 x))) |
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x))) |
(-.f64 (/.f64 (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x)))) (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x))))) |
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))) (/.f64 (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64)) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)))) |
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (*.f64 (neg.f64 y) x) #s(literal -1 binary64))) |
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) (neg.f64 y))) |
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)) |
(+.f64 (/.f64 (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 3 binary64)) (fma.f64 (log1p.f64 (exp.f64 x)) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (log1p.f64 (exp.f64 x)) (+.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 2 binary64))))) |
(+.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) x) (-.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) x) (-.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (neg.f64 y) x) (log1p.f64 (exp.f64 x))) |
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 y) x)) |
(*.f64 #s(literal -1 binary64) y) |
(*.f64 y #s(literal -1 binary64)) |
(neg.f64 y) |
y |
x |
(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 (exp.f64 x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (exp.f64 x)) |
(/.f64 (*.f64 #s(literal 2 binary64) (exp.f64 x)) #s(literal 2 binary64)) |
(/.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))))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (exp.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)) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (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 (log.f64 #s(literal 2 binary64)))) |
#s(approx x x) |
#s(approx (log (+ 1 (exp x))) (log.f64 #s(literal 2 binary64))) |
#s(approx (log (+ 1 (exp x))) (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64)))) |
#s(approx (log (+ 1 (exp x))) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))) |
#s(approx (log (+ 1 (exp x))) (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 (log.f64 #s(literal 2 binary64)))) |
#s(approx (exp x) #s(literal 1 binary64)) |
#s(approx (exp x) (-.f64 x #s(literal -1 binary64))) |
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64))) |
#s(approx (exp 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))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (*.f64 (neg.f64 y) x)) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)) |
#s(approx (log (+ 1 (exp x))) (log1p.f64 (exp.f64 x))) |
#s(approx (exp x) (exp.f64 x)) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (*.f64 (neg.f64 x) (-.f64 y (/.f64 (log1p.f64 (exp.f64 x)) x)))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (log1p.f64 (exp.f64 x))) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))) |
#s(approx (neg y) (neg.f64 y)) |
#s(approx y y) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)) |
#s(approx (+ (* (neg y) x) (log (+ 1 (exp x)))) (*.f64 (-.f64 x (/.f64 (log1p.f64 (exp.f64 x)) y)) (neg.f64 y))) |
Compiled 1 149 to 237 computations (79.4% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 73 | 0 | 73 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 73 | 2 | 75 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.5% | (fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
| ✓ | 85.6% | #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
Compiled 57 to 43 computations (24.6% saved)
Total -8.6b remaining (-884.2%)
Threshold costs -8.6b (-884.2%)
| Inputs |
|---|
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))) |
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Outputs |
|---|
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
3 calls:
| 3.0ms | y |
| 1.0ms | x |
| 1.0ms | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.5% | 1 | (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) |
| 98.5% | 1 | x |
| 98.5% | 1 | y |
Compiled 11 to 12 computations (-9.1% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 11 | 7 |
| 2 | 12 | 7 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
| Outputs |
|---|
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x))) |
| 1× | done |
Compiled 7 to 6 computations (14.3% saved)
Compiled 84 to 64 computations (23.8% saved)
Loading profile data...