
Time bar (total: 1.6s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 2 |
| 66.7% | 50% | 25% | 0% | 0% | 25% | 0% | 3 |
| 83.3% | 62.5% | 12.5% | 0% | 0% | 25% | 0% | 4 |
| 91.7% | 68.7% | 6.2% | 0% | 0% | 25% | 0% | 5 |
| 95.8% | 71.8% | 3.1% | 0% | 0% | 25% | 0% | 6 |
| 97.9% | 73.4% | 1.6% | 0% | 0% | 25% | 0% | 7 |
| 99% | 74.2% | 0.8% | 0% | 0% | 25% | 0% | 8 |
| 99.5% | 74.6% | 0.4% | 0% | 0% | 25% | 0% | 9 |
| 99.7% | 74.8% | 0.2% | 0% | 0% | 25% | 0% | 10 |
| 99.9% | 74.9% | 0.1% | 0% | 0% | 25% | 0% | 11 |
| 99.9% | 74.9% | 0% | 0% | 0% | 25% | 0% | 12 |
Compiled 6 to 4 computations (33.3% saved)
| 282.0ms | 8 256× | 0 | valid |
| 0.0ms | 1× | 0 | invalid |
ival-log1p: 80.0ms (97.9% of total)adjust: 2.0ms (2.4% of total)Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 15 | 15 |
| 2 | 26 | 15 |
| 3 | 72 | 15 |
| 4 | 392 | 13 |
| 5 | 3683 | 13 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 39.0% | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
(log.f64 (+.f64 #s(literal 1 binary64) x)) |
(+.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
| Outputs |
|---|
#s(approx (log (+ 1 x)) #s(hole binary64 x)) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2)))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2)))))) |
#s(approx (+ 1 x) #s(hole binary64 1)) |
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2))))) |
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((log (+ 1 x)) (+ 1 x) 1 x) |
| 1.0ms | x | @ | inf | ((log (+ 1 x)) (+ 1 x) 1 x) |
| 0.0ms | x | @ | 0 | ((log (+ 1 x)) (+ 1 x) 1 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 229 |
| 0 | 70 | 203 |
| 1 | 406 | 187 |
| 0 | 3886 | 155 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(log.f64 (+.f64 #s(literal 1 binary64) x)) |
(+.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(approx (log (+ 1 x)) #s(hole binary64 x)) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2)))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2)))))) |
#s(approx (+ 1 x) #s(hole binary64 1)) |
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2))))) |
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))))) |
| Outputs |
|---|
(log1p.f64 x) |
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (log.f64 (-.f64 #s(literal 1 binary64) x))) |
(-.f64 (log.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (log.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) |
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64))) |
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) x) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x))) |
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x))) |
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1 binary64) x)) x)) |
(-.f64 x #s(literal -1 binary64)) |
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(+.f64 x #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/4 binary64) x #s(literal 1/3 binary64)) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x)) |
#s(approx (+ 1 x) #s(literal 1 binary64)) |
#s(approx (+ 1 x) (-.f64 x #s(literal -1 binary64))) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
#s(approx (log (+ 1 x)) (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (log (+ 1 x)) (-.f64 (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))) |
#s(approx (log (+ 1 x)) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) x)) (log.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))) |
#s(approx (+ 1 x) (-.f64 x #s(literal -1 binary64))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) x)) #s(literal -1 binary64)) x))) |
Compiled 433 to 131 computations (69.7% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 30 | 5 | 35 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 31 | 5 | 36 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (log1p.f64 x) |
| ▶ | 39.0% | (log.f64 (-.f64 x #s(literal -1 binary64))) |
| ▶ | 66.7% | #s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
| ▶ | 32.7% | #s(approx (log (+ 1 x)) (log.f64 x)) |
| ▶ | 67.5% | #s(approx (log (+ 1 x)) x) |
Compiled 60 to 52 computations (13.3% saved)
| Inputs |
|---|
(log1p.f64 x) |
x |
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
(log.f64 x) |
#s(approx (log (+ 1 x)) (*.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) |
(fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) |
#s(literal -1/2 binary64) |
#s(literal 1 binary64) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) #s(hole binary64 x)) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2)))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2)))))) |
#s(approx (log x) #s(hole binary64 (log x))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 1)) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (+ 1 (* -1/2 x)))) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2))))) |
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* -1/2 (pow x 2)))) |
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2)))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1/2 x))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* x (- (/ 1 x) 1/2)))) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1 (* x (- 1/2 (/ 1 x)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 28.0ms | x | @ | 0 | ((log (+ 1 x)) x (log (+ 1 x)) (log (+ 1 x)) (log x) (log (+ 1 x)) (* (+ (* -1/2 x) 1) x) (+ (* -1/2 x) 1) -1/2 1 (log (- x -1)) (- x -1) -1) |
| 14.0ms | x | @ | inf | ((log (+ 1 x)) x (log (+ 1 x)) (log (+ 1 x)) (log x) (log (+ 1 x)) (* (+ (* -1/2 x) 1) x) (+ (* -1/2 x) 1) -1/2 1 (log (- x -1)) (- x -1) -1) |
| 7.0ms | x | @ | -inf | ((log (+ 1 x)) x (log (+ 1 x)) (log (+ 1 x)) (log x) (log (+ 1 x)) (* (+ (* -1/2 x) 1) x) (+ (* -1/2 x) 1) -1/2 1 (log (- x -1)) (- x -1) -1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 93 | 319 |
| 0 | 99 | 286 |
| 1 | 476 | 272 |
| 0 | 4339 | 265 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(log1p.f64 x) |
x |
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
(log.f64 x) |
#s(approx (log (+ 1 x)) (*.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) |
(fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) |
#s(literal -1/2 binary64) |
#s(literal 1 binary64) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (log (+ 1 x)) #s(hole binary64 x)) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2)))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2)))))) |
#s(approx (log x) #s(hole binary64 (log x))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 1)) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (+ 1 (* -1/2 x)))) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2))))) |
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* -1/2 (pow x 2)))) |
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2)))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1/2 x))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* x (- (/ 1 x) 1/2)))) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))))) |
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1 (* x (- 1/2 (/ 1 x)))))) |
| Outputs |
|---|
(log1p.f64 x) |
(-.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64))) (log.f64 (+.f64 #s(literal -1 binary64) x))) |
(-.f64 (log.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (log.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (log.f64 (-.f64 #s(literal 1 binary64) x))) |
(-.f64 (log.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (log.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
x |
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
(*.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x))) |
(neg.f64 (*.f64 (neg.f64 (log.f64 x)) #s(literal 1 binary64))) |
(neg.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) |
(neg.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (log.f64 x)))) |
(neg.f64 (neg.f64 (log.f64 x))) |
(log.f64 x) |
#s(approx (log (+ 1 x)) (*.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 x (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64))) |
(/.f64 (*.f64 x (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64))) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64))) |
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))) |
(/.f64 (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))) |
(/.f64 (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64))) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64)) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))) |
(/.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) x) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))) |
(/.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) x) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))) (-.f64 x (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))) |
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 (*.f64 x x) #s(literal -1/2 binary64))) (*.f64 x (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x x) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) x) |
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) x) |
(-.f64 x (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) x))) |
(-.f64 x (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) |
(+.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) x) |
(+.f64 x (*.f64 (*.f64 x x) #s(literal -1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (neg.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64)) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))) |
(/.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))) |
(/.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64))) |
(fma.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (*.f64 #s(literal -1/2 binary64) x)) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) |
(fma.f64 x #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))) |
(-.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal -1 binary64)) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal -1/2 binary64))) |
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))) |
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64)))) |
(+.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)) |
#s(literal -1/2 binary64) |
#s(literal 1 binary64) |
(log1p.f64 x) |
(-.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64))) (log.f64 (+.f64 #s(literal -1 binary64) x))) |
(-.f64 (log.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (log.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (log.f64 (-.f64 #s(literal 1 binary64) x))) |
(-.f64 (log.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (log.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) |
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64))) |
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) x) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (+.f64 #s(literal -1 binary64) x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 #s(literal -1 binary64) x)) |
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) x))) |
(-.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x))) |
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x))) |
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1 binary64) x)) x)) |
(-.f64 x #s(literal -1 binary64)) |
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(+.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(literal 1 binary64)) |
#s(literal -1 binary64) |
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/4 binary64) x #s(literal 1/3 binary64)) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x)) |
#s(approx (log x) (log.f64 x)) |
#s(approx (+ (* -1/2 x) 1) #s(literal 1 binary64)) |
#s(approx (+ (* -1/2 x) 1) (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64))) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
#s(approx (log (+ 1 x)) (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (log (+ 1 x)) (-.f64 (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))) |
#s(approx (log (+ 1 x)) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) x)) (log.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))) |
#s(approx (* (+ (* -1/2 x) 1) x) (*.f64 (*.f64 x x) #s(literal -1/2 binary64))) |
#s(approx (* (+ (* -1/2 x) 1) x) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (+ (* -1/2 x) 1) (*.f64 #s(literal -1/2 binary64) x)) |
#s(approx (+ (* -1/2 x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) x)) #s(literal -1 binary64)) x))) |
#s(approx (+ (* -1/2 x) 1) (*.f64 (neg.f64 x) (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))) |
Compiled 1 524 to 363 computations (76.2% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 92 | 1 | 93 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 93 | 5 | 98 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (log1p.f64 x) |
| ✓ | 39.0% | (log.f64 (-.f64 x #s(literal -1 binary64))) |
| ▶ | 66.7% | #s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
| ✓ | 32.7% | #s(approx (log (+ 1 x)) (log.f64 x)) |
| ✓ | 67.5% | #s(approx (log (+ 1 x)) x) |
Compiled 30 to 25 computations (16.7% saved)
| Inputs |
|---|
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x) |
(*.f64 x x) |
x |
#s(literal -1/2 binary64) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) #s(hole binary64 x)) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2)))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2)))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2))))) |
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* -1/2 (pow x 2)))) |
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((log (+ 1 x)) (+ (* (* x x) -1/2) x) (* x x) x -1/2) |
| 1.0ms | x | @ | inf | ((log (+ 1 x)) (+ (* (* x x) -1/2) x) (* x x) x -1/2) |
| 1.0ms | x | @ | 0 | ((log (+ 1 x)) (+ (* (* x x) -1/2) x) (* x x) x -1/2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 254 |
| 0 | 76 | 231 |
| 1 | 426 | 215 |
| 0 | 4008 | 184 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x) |
(*.f64 x x) |
x |
#s(literal -1/2 binary64) |
#s(approx (log (+ 1 x)) #s(hole binary64 x)) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2)))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2)))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2))))) |
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* -1/2 (pow x 2)))) |
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x)))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))))) |
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))))) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) (*.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 x (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64))) |
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))) |
(/.f64 (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (-.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))) |
(/.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) x) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (-.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x))) (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x)))))) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x)) |
(/.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (*.f64 (*.f64 x x) x)) (fma.f64 x x (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x)))) |
(/.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))))) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (fabs.f64 x)) (fabs.f64 x) x) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 x)) (neg.f64 x) x) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/2 binary64)) x) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/2 binary64)) x) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x x) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) x) |
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) x) |
(-.f64 (/.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x))) |
(-.f64 x (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) |
(-.f64 x (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/2 binary64))) |
(-.f64 x (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) x))) |
(-.f64 x (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) |
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x))) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x)))))) |
(+.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x) |
(+.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x)) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(literal -1/2 binary64) |
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/4 binary64) x #s(literal 1/3 binary64)) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x)) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
#s(approx (log (+ 1 x)) (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (log (+ 1 x)) (-.f64 (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))) |
#s(approx (log (+ 1 x)) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) x)) (log.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))) |
#s(approx (+ (* (* x x) -1/2) x) (*.f64 (*.f64 #s(literal -1/2 binary64) x) x)) |
#s(approx (+ (* (* x x) -1/2) x) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x))) |
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) x)) #s(literal -1 binary64)) x))) |
Compiled 952 to 210 computations (77.9% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 0 | 52 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 52 | 5 | 57 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (log1p.f64 x) |
| ✓ | 39.0% | (log.f64 (-.f64 x #s(literal -1 binary64))) |
| ✓ | 66.7% | #s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
| ✓ | 32.7% | #s(approx (log (+ 1 x)) (log.f64 x)) |
| ✓ | 67.5% | #s(approx (log (+ 1 x)) x) |
Compiled 75 to 46 computations (38.7% saved)
| Inputs |
|---|
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
(log.f64 (+.f64 #s(literal 1 binary64) x)) |
(log1p.f64 x) |
| Outputs |
|---|
(log1p.f64 x) |
3 calls:
| 157.0ms | x |
| 2.0ms | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 2.0ms | (+.f64 #s(literal 1 binary64) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 #s(literal 1 binary64) x) |
| 100.0% | 1 | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 100.0% | 1 | x |
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
(log.f64 (+.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
(log.f64 (-.f64 x #s(literal -1 binary64))) |
3 calls:
| 2.0ms | x |
| 2.0ms | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 2.0ms | (+.f64 #s(literal 1 binary64) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 2 | (+.f64 #s(literal 1 binary64) x) |
| 99.8% | 2 | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 99.8% | 2 | x |
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
3 calls:
| 26.0ms | (+.f64 #s(literal 1 binary64) x) |
| 2.0ms | x |
| 1.0ms | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.4% | 2 | (+.f64 #s(literal 1 binary64) x) |
| 98.4% | 2 | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 98.4% | 2 | x |
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 1.0ms | (+.f64 #s(literal 1 binary64) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.4% | 2 | (+.f64 #s(literal 1 binary64) x) |
| 98.4% | 2 | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 98.4% | 2 | x |
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) x) |
#s(approx (log (+ 1 x)) (log.f64 x)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 1.0ms | (+.f64 #s(literal 1 binary64) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.6% | 2 | (+.f64 #s(literal 1 binary64) x) |
| 97.6% | 2 | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 97.6% | 2 | x |
Compiled 8 to 8 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (log (+ 1 x)) x) |
| Outputs |
|---|
#s(approx (log (+ 1 x)) x) |
3 calls:
| 1.0ms | x |
| 1.0ms | (+.f64 #s(literal 1 binary64) x) |
| 1.0ms | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 67.5% | 1 | (+.f64 #s(literal 1 binary64) x) |
| 67.5% | 1 | (log.f64 (+.f64 #s(literal 1 binary64) x)) |
| 67.5% | 1 | x |
Compiled 8 to 8 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 5.0ms | 3.364353204724073e-6 | 1.3195134989688012e-5 |
| 2.0ms | 80× | 0 | valid |
Compiled 82 to 76 computations (7.3% saved)
ival-log1p: 1.0ms (144.3% of total)adjust: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 0.5669895112798946 | 3.0358688197262973 |
| 6.0ms | 96× | 0 | valid |
Compiled 115 to 102 computations (11.3% saved)
ival-log1p: 4.0ms (91.2% of total)adjust: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 0.5669895112798946 | 3.0358688197262973 |
Compiled 115 to 108 computations (6.1% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 3.0ms | 0.5669895112798946 | 3.0358688197262973 |
| 1.0ms | 48× | 0 | valid |
Compiled 85 to 84 computations (1.2% saved)
ival-log1p: 1.0ms (194.7% of total)adjust: 0.0ms (0% of total)| 1× | done |
Compiled 88 to 29 computations (67% saved)
Compiled 111 to 42 computations (62.2% saved)
Loading profile data...