
Time bar (total: 1.0s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 25% | 75% | 0% | 0% | 0% | 0 |
| 100% | 25% | 0% | 75% | 0% | 0% | 0% | 1 |
Compiled 6 to 5 computations (16.7% saved)
| 385.0ms | 8 256× | 0 | valid |
ival-acosh: 232.0ms (99.2% of total)adjust: 1.0ms (0.4% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 9 |
| 1 | 16 | 9 |
| 2 | 47 | 9 |
| 3 | 89 | 9 |
| 4 | 200 | 9 |
| 5 | 969 | 9 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 49.2% | (log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
Compiled 18 to 14 computations (22.2% saved)
| Inputs |
|---|
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))) |
x |
(sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) |
(-.f32 (*.f32 x x) #s(literal 1 binary32)) |
(*.f32 x x) |
#s(literal 1 binary32) |
| Outputs |
|---|
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1)))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))))) |
#s(approx x #s(hole binary32 x)) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 -1)) |
#s(approx (- (* x x) 1) #s(hole binary32 (- (pow x 2) 1))) |
#s(approx (* x x) #s(hole binary32 (pow x 2))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* 2 x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 (* (pow x 2) (- 1 (/ 1 (pow x 2)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 1/2) (log (/ 1 x))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 1/4 (* 5/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 5/32 (* 11/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 2.0ms | x | 0 |
| 2.0ms | x | inf |
| 2.0ms | x | -inf |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 198 | 966 |
| 0 | 205 | 706 |
| 0 | 1187 | 676 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))) |
x |
(sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) |
(-.f32 (*.f32 x x) #s(literal 1 binary32)) |
(*.f32 x x) |
#s(literal 1 binary32) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1)))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))))) |
#s(approx x #s(hole binary32 x)) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 -1)) |
#s(approx (- (* x x) 1) #s(hole binary32 (- (pow x 2) 1))) |
#s(approx (* x x) #s(hole binary32 (pow x 2))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* 2 x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 (* (pow x 2) (- 1 (/ 1 (pow x 2)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 1/2) (log (/ 1 x))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 1/4 (* 5/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 5/32 (* 11/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))) |
| Outputs |
|---|
(acosh.f32 x) |
(log.f32 (+.f32 (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) x)) |
(/.f32 (-.f32 (*.f32 x x) (*.f32 (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) (-.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))) (*.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))))) |
(+.f32 (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) x) |
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))) |
x |
(sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) |
(pow.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)) #s(literal 1/2 binary32)) |
(sinh.f32 (acosh.f32 x)) |
(expm1.f32 (*.f32 (log.f32 x) #s(literal 2 binary32))) |
(*.f32 (+.f32 x #s(literal 1 binary32)) (-.f32 x #s(literal 1 binary32))) |
(/.f32 (-.f32 (*.f32 (*.f32 x x) (*.f32 x x)) #s(literal 1 binary32)) (fma.f32 x x #s(literal 1 binary32))) |
(/.f32 (-.f32 (pow.f32 (*.f32 x x) #s(literal 3 binary32)) #s(literal 1 binary32)) (fma.f32 (*.f32 x x) (*.f32 x x) (+.f32 #s(literal 1 binary32) (*.f32 (*.f32 x x) #s(literal 1 binary32))))) |
(-.f32 (*.f32 x x) #s(literal 1 binary32)) |
(*.f32 (pow.f32 x #s(literal 1 binary32)) (pow.f32 x #s(literal 1 binary32))) |
(*.f32 (fabs.f32 x) (fabs.f32 x)) |
(*.f32 (neg.f32 x) (neg.f32 x)) |
(*.f32 x x) |
(pow.f32 x #s(literal 2 binary32)) |
(exp.f32 (*.f32 (log.f32 x) #s(literal 2 binary32))) |
#s(literal 1 binary32) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (/.f32 x (sqrt.f32 #s(literal -1 binary32))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 x (fma.f32 (/.f32 (*.f32 x x) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32)))) #s(literal -1/6 binary32) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 3/40 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/6 binary32) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32))))) (*.f32 x x) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f32 #s(literal -1 binary32))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 (sqrt.f32 #s(literal -1 binary32)) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 #s(literal 1/2 binary32) (/.f32 x (sqrt.f32 #s(literal -1 binary32))) #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 x (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32)))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx x x) |
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (/.f32 (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))) #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32)))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 1/16 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/8 binary32) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32))))) (*.f32 x x) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (- (* x x) 1) #s(literal -1 binary32)) |
#s(approx (- (* x x) 1) (-.f32 (*.f32 x x) #s(literal 1 binary32))) |
#s(approx (* x x) (*.f32 x x)) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32)))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 3/32 binary32) (*.f32 x x)) #s(literal 1/4 binary32)) (*.f32 x x))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (+.f32 (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 5/96 binary32) (*.f32 x x)) #s(literal 3/32 binary32)) (*.f32 (*.f32 x x) (*.f32 x x))))) (log.f32 #s(literal 2 binary32))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 #s(literal 2 binary32) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) (*.f32 x x))) #s(literal 2 binary32)) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 2 binary32)) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) (*.f32 x x))) #s(literal 1 binary32)) x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 1 binary32)) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 5/32 binary32) (*.f32 x x)) #s(literal 1/4 binary32)) (*.f32 x x))))) |
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (+.f32 (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 11/96 binary32) (*.f32 x x)) #s(literal 5/32 binary32)) (*.f32 (*.f32 x x) (*.f32 x x))))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 #s(literal 1/2 binary32) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 x x))) #s(literal 1/2 binary32)) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (-.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 5/128 binary32) (*.f32 x x)) #s(literal 1/16 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 1/2 binary32)) (/.f32 #s(literal 1/8 binary32) (*.f32 x x))) x))) |
#s(approx (sqrt (- (* x x) 1)) (neg.f32 x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))))) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) (*.f32 x x))) #s(literal 1 binary32)))) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 1 binary32)) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))))) |
Compiled 1 166 to 306 computations (73.8% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 3 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 52 | 4 | 56 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 49.2% | (log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
| ▶ | 49.2% | (log.f32 (+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))) |
| ▶ | 97.0% | (log.f32 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x))) |
| ▶ | 99.2% | (acosh.f32 x) |
Compiled 45 to 31 computations (31.1% saved)
| Inputs |
|---|
(acosh.f32 x) |
x |
(log.f32 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x)) |
(+.f32 x x) |
(log.f32 (+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))) |
(+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))))) |
(sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) |
#s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))) |
(*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)) |
(-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) |
#s(literal 1 binary32) |
(/.f32 #s(literal 1 binary32) (*.f32 x x)) |
(*.f32 x x) |
| Outputs |
|---|
#s(approx (acosh x) #s(hole binary32 (log (sqrt -1)))) |
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))))) |
#s(approx x #s(hole binary32 x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))))) |
#s(approx (+ x x) #s(hole binary32 (* 2 x))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 -1)) |
#s(approx (- (* x x) 1) #s(hole binary32 (- (pow x 2) 1))) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 (/ -1 (pow x 2)))) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 (/ (- (pow x 2) 1) (pow x 2)))) |
#s(approx (/ 1 (* x x)) #s(hole binary32 (/ 1 (pow x 2)))) |
#s(approx (* x x) #s(hole binary32 (pow x 2))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x)))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 (* (pow x 2) (- 1 (/ 1 (pow x 2)))))) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 1)) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 (- 1 (/ 1 (pow x 2))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 1/2) (log (/ 1 x))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 1/4 (* 5/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 5/32 (* 11/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | x | -inf |
| 1.0ms | x | inf |
| 1.0ms | x | 0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 215 | 1043 |
| 0 | 228 | 849 |
| 0 | 1257 | 819 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(acosh.f32 x) |
x |
(log.f32 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x)) |
(+.f32 x x) |
(log.f32 (+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))) |
(+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))))) |
(sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) |
#s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))) |
(*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)) |
(-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) |
#s(literal 1 binary32) |
(/.f32 #s(literal 1 binary32) (*.f32 x x)) |
(*.f32 x x) |
#s(approx (acosh x) #s(hole binary32 (log (sqrt -1)))) |
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))))) |
#s(approx x #s(hole binary32 x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))))) |
#s(approx (+ x x) #s(hole binary32 (* 2 x))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 -1)) |
#s(approx (- (* x x) 1) #s(hole binary32 (- (pow x 2) 1))) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 (/ -1 (pow x 2)))) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 (/ (- (pow x 2) 1) (pow x 2)))) |
#s(approx (/ 1 (* x x)) #s(hole binary32 (/ 1 (pow x 2)))) |
#s(approx (* x x) #s(hole binary32 (pow x 2))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x)))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (* x x) 1) #s(hole binary32 (* (pow x 2) (- 1 (/ 1 (pow x 2)))))) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 1)) |
#s(approx (- 1 (/ 1 (* x x))) #s(hole binary32 (- 1 (/ 1 (pow x 2))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 1/2) (log (/ 1 x))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (acosh x) #s(hole binary32 (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 1/4 (* 5/32 (/ 1 (pow x 2)))) (pow x 2))))))) |
#s(approx (acosh x) #s(hole binary32 (- (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 5/32 (* 11/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))) |
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))) |
| Outputs |
|---|
(acosh.f32 x) |
(log.f32 (+.f32 (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) x)) |
x |
(log.f32 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x)) |
(*.f32 #s(literal 2 binary32) x) |
(*.f32 x #s(literal 2 binary32)) |
(/.f32 (-.f32 (*.f32 x x) (*.f32 x x)) (-.f32 x x)) |
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 x x) (*.f32 x x)))) |
(+.f32 x x) |
(log.f32 (+.f32 (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) x)) |
(/.f32 (-.f32 (*.f32 x x) (*.f32 (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))) (-.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))) |
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))))) (*.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))))) |
(+.f32 (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) x) |
(+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))))) |
(sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))) |
(pow.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))) #s(literal 1/2 binary32)) |
#s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))) |
(*.f32 (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) x) x) |
(*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)) |
(*.f32 (*.f32 x x) (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x)))) |
(/.f32 (-.f32 #s(literal 1 binary32) (*.f32 (/.f32 #s(literal 1 binary32) (*.f32 x x)) (/.f32 #s(literal 1 binary32) (*.f32 x x)))) (+.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x)))) |
(/.f32 (-.f32 #s(literal 1 binary32) (pow.f32 (/.f32 #s(literal 1 binary32) (*.f32 x x)) #s(literal 3 binary32))) (+.f32 #s(literal 1 binary32) (fma.f32 (/.f32 #s(literal 1 binary32) (*.f32 x x)) (/.f32 #s(literal 1 binary32) (*.f32 x x)) (*.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x)))))) |
(-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) |
#s(literal 1 binary32) |
(/.f32 (/.f32 #s(literal 1 binary32) x) x) |
(/.f32 #s(literal -1 binary32) (neg.f32 (*.f32 x x))) |
(/.f32 #s(literal 1 binary32) (*.f32 x x)) |
(pow.f32 (*.f32 x x) #s(literal -1 binary32)) |
(pow.f32 x #s(literal -2 binary32)) |
(*.f32 (pow.f32 x #s(literal 1 binary32)) (pow.f32 x #s(literal 1 binary32))) |
(*.f32 (fabs.f32 x) (fabs.f32 x)) |
(*.f32 (neg.f32 x) (neg.f32 x)) |
(*.f32 x x) |
(pow.f32 x #s(literal 2 binary32)) |
(exp.f32 (*.f32 (log.f32 x) #s(literal 2 binary32))) |
#s(approx (acosh x) (log.f32 (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (acosh x) (+.f32 (/.f32 x (sqrt.f32 #s(literal -1 binary32))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))) |
#s(approx (acosh x) (fma.f32 x (fma.f32 (/.f32 (*.f32 x x) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32)))) #s(literal -1/6 binary32) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))) |
#s(approx (acosh x) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 3/40 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/6 binary32) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32))))) (*.f32 x x) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32))))) |
#s(approx x x) |
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f32 #s(literal -1 binary32))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 (sqrt.f32 #s(literal -1 binary32)) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 #s(literal 1/2 binary32) (/.f32 x (sqrt.f32 #s(literal -1 binary32))) #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 x (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32)))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (+ x x) (+.f32 x x)) |
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (/.f32 (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))) #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32)))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 1/16 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/8 binary32) (*.f32 (*.f32 (sqrt.f32 #s(literal -1 binary32)) (sqrt.f32 #s(literal -1 binary32))) (sqrt.f32 #s(literal -1 binary32))))) (*.f32 x x) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32)))) |
#s(approx (- (* x x) 1) #s(literal -1 binary32)) |
#s(approx (- (* x x) 1) (-.f32 (*.f32 x x) #s(literal 1 binary32))) |
#s(approx (- 1 (/ 1 (* x x))) (/.f32 #s(literal -1 binary32) (*.f32 x x))) |
#s(approx (- 1 (/ 1 (* x x))) (/.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)) (*.f32 x x))) |
#s(approx (/ 1 (* x x)) (/.f32 #s(literal 1 binary32) (*.f32 x x))) |
#s(approx (* x x) (*.f32 x x)) |
#s(approx (acosh x) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32)))) |
#s(approx (acosh x) (-.f32 (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (acosh x) (+.f32 (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 3/32 binary32) (*.f32 x x)) #s(literal 1/4 binary32)) (*.f32 x x))))) |
#s(approx (acosh x) (-.f32 (+.f32 (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 5/96 binary32) (*.f32 x x)) #s(literal 3/32 binary32)) (*.f32 (*.f32 x x) (*.f32 x x))))) (log.f32 #s(literal 2 binary32))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 #s(literal 2 binary32) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) (*.f32 x x))) #s(literal 2 binary32)) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 2 binary32)) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) (*.f32 x x))) #s(literal 1 binary32)) x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 1 binary32)) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))) x)) |
#s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x))) |
#s(approx (- 1 (/ 1 (* x x))) #s(literal 1 binary32)) |
#s(approx (- 1 (/ 1 (* x x))) (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x)))) |
#s(approx (acosh x) (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)))) |
#s(approx (acosh x) (-.f32 (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (acosh x) (+.f32 (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 5/32 binary32) (*.f32 x x)) #s(literal 1/4 binary32)) (*.f32 x x))))) |
#s(approx (acosh x) (-.f32 (+.f32 (log.f32 (*.f32 #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 11/96 binary32) (*.f32 x x)) #s(literal 5/32 binary32)) (*.f32 (*.f32 x x) (*.f32 x x))))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x)))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 #s(literal 1/2 binary32) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) x)) |
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 x x))) #s(literal 1/2 binary32)) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (-.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 5/128 binary32) (*.f32 x x)) #s(literal 1/16 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 1/2 binary32)) (/.f32 #s(literal 1/8 binary32) (*.f32 x x))) x))) |
#s(approx (sqrt (- (* x x) 1)) (neg.f32 x)) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))))) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/8 binary32) (*.f32 x x)) #s(literal 1/2 binary32)) (*.f32 x x))) #s(literal 1 binary32)))) |
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 (+.f32 (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 1/16 binary32) (*.f32 x x)) #s(literal 1/8 binary32)) (*.f32 (*.f32 x x) (*.f32 x x)))) #s(literal 1 binary32)) (/.f32 #s(literal 1/2 binary32) (*.f32 x x))))) |
Compiled 1 661 to 416 computations (75% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 68 | 0 | 68 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 68 | 4 | 72 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 49.2% | (log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
| ✓ | 49.2% | (log.f32 (+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))) |
| ✓ | 97.0% | (log.f32 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x))) |
| ✓ | 99.2% | (acosh.f32 x) |
Compiled 90 to 54 computations (40% saved)
Total -16.6b remaining (-6729.6%)
Threshold costs -16.6b (-6729.6%)
| Inputs |
|---|
(acosh.f32 x) |
(log.f32 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 x x))) |
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
(log.f32 (+.f32 x (sqrt.f32 #s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (/.f32 #s(literal 1 binary32) (*.f32 x x))) (*.f32 x x)))))) |
| Outputs |
|---|
(acosh.f32 x) |
3 calls:
| 41.0ms | (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))) |
| 2.0ms | x |
| 2.0ms | (log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))) |
| 99.2% | 1 | (log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))) |
| 99.2% | 1 | x |
Compiled 18 to 14 computations (22.2% saved)
| 1× | done |
Compiled 2 to 2 computations (0% saved)
Compiled 23 to 18 computations (21.7% saved)
Loading profile data...