Rust f32::acosh

Time bar (total: 980.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%25%75%0%0%0%0
100%25%0%75%0%0%0%1
Compiler

Compiled 6 to 5 computations (16.7% saved)

sample388.0ms (39.6%)

Memory
20.8MiB live, 494.1MiB allocated; 93ms collecting garbage
Samples
245.0ms8 254×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 102.0ms
ival-acosh: 101.0ms (98.6% of total)
adjust: 1.0ms (1% of total)
Bogosity

preprocess54.0ms (5.5%)

Memory
-14.2MiB live, 32.0MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059
1169
2479
3899
42009
59699
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
57.6%
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
Compiler

Compiled 14 to 14 computations (0% saved)

series6.0ms (0.6%)

Memory
10.7MiB live, 10.7MiB allocated; 0ms collecting garbage
Counts
7 → 42
Calls
Call 1
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)))
#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))
#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)))
#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))))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@0
((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1)
2.0ms
x
@inf
((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1)
2.0ms
x
@-inf
((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1)

rewrite64.0ms (6.5%)

Memory
31.9MiB live, 79.6MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0201992
0208726
01190696
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
49 → 64
Calls
Call 1
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)))
#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))
#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)))
#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)) (sqrt.f32 #s(literal -1 binary32)))
#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)) 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 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)))))

eval9.0ms (0.9%)

Memory
-29.9MiB live, 13.2MiB allocated; 5ms collecting garbage
Compiler

Compiled 686 to 316 computations (53.9% saved)

prune2.0ms (0.2%)

Memory
4.5MiB live, 4.5MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New55358
Fresh000
Picked101
Done000
Total56359
Accuracy
100.0%
Counts
59 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.9%
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
99.3%
(acosh.f32 x)
96.8%
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
Compiler

Compiled 24 to 24 computations (0% saved)

series171.0ms (17.4%)

Memory
-24.4MiB live, 189.3MiB allocated; 132ms collecting garbage
Counts
12 → 57
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
(+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32)))
(neg.f32 (neg.f32 (log.f32 x)))
(neg.f32 (log.f32 x))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
(acosh.f32 x)
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f32 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
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 (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (neg (neg (log x))) #s(hole binary32 (log x)))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 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 (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 (sqrt (- (* x x) 1)) #s(hole binary32 (sqrt -1)))
#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 (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 (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (neg (neg (log x))) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (neg (log x)) #s(hole binary32 (log (/ 1 x))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#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 (* 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))
#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 (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 (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))))))))
Calls

3 calls:

TimeVariablePointExpression
111.0ms
x
@-inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (neg (neg (log x))) (log 2)) (neg (neg (log x))) (neg (log x)) (log x) x (log 2) 2 (acosh x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
42.0ms
x
@0
((log (+ x (sqrt (- (* x x) 1)))) (+ (neg (neg (log x))) (log 2)) (neg (neg (log x))) (neg (log x)) (log x) x (log 2) 2 (acosh x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
17.0ms
x
@inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (neg (neg (log x))) (log 2)) (neg (neg (log x))) (neg (log x)) (log x) x (log 2) 2 (acosh x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))

rewrite82.0ms (8.4%)

Memory
26.8MiB live, 109.9MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02241316
0234954
01272918
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
69 → 94
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
(+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32)))
(neg.f32 (neg.f32 (log.f32 x)))
(neg.f32 (log.f32 x))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
(acosh.f32 x)
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f32 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
#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 (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (neg (neg (log x))) #s(hole binary32 (log x)))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 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 (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 (sqrt (- (* x x) 1)) #s(hole binary32 (sqrt -1)))
#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 (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 (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (neg (neg (log x))) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (neg (log x)) #s(hole binary32 (log (/ 1 x))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#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 (* 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))
#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 (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 (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
#s(approx (acosh x) (log.f32 (+.f32 x x)))
(log.f32 (+.f32 x x))
(/.f32 (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 x))) (-.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))
(/.f32 (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)))) (-.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(/.f32 (+.f32 (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32)) (pow.f32 (log.f32 x) #s(literal 3 binary32))) (fma.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)) (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))))
(/.f32 (+.f32 (pow.f32 (log.f32 x) #s(literal 3 binary32)) (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32))) (fma.f32 (log.f32 x) (log.f32 x) (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))))
(-.f32 (log.f32 #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (neg.f32 (log.f32 x))))
(fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32)))
(fma.f32 #s(literal -1 binary32) (neg.f32 (log.f32 x)) (log.f32 #s(literal 2 binary32)))
(+.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 (pow.f32 (/.f32 #s(literal 1 binary32) x) #s(literal -1 binary32)))
(log.f32 x)
(*.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32))
(*.f32 #s(literal -1 binary32) (neg.f32 (log.f32 x)))
(neg.f32 (neg.f32 (log.f32 x)))
(log.f32 (/.f32 #s(literal 1 binary32) x))
(*.f32 (log.f32 x) #s(literal -1 binary32))
(*.f32 #s(literal -1 binary32) (log.f32 x))
(-.f32 #s(literal 0 binary32) (log.f32 x))
(neg.f32 (log.f32 x))
(log.f32 (pow.f32 (/.f32 #s(literal 1 binary32) x) #s(literal -1 binary32)))
(log.f32 x)
(*.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32))
(*.f32 #s(literal -1 binary32) (neg.f32 (log.f32 x)))
(neg.f32 (neg.f32 (log.f32 x)))
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
(acosh.f32 x)
(log.f32 (+.f32 (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))) x))
(log.f32 (+.f32 #s(approx (sqrt (- (* x x) 1)) x) x))
(/.f32 (-.f32 (*.f32 x x) (*.f32 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x))) (-.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 #s(approx (sqrt (- (* x x) 1)) x) #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x)) (*.f32 x #s(approx (sqrt (- (* x x) 1)) x)))))
(+.f32 #s(approx (sqrt (- (* x x) 1)) x) x)
(+.f32 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
#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 (+ (neg (neg (log x))) (log 2)) (log.f32 (+.f32 x x)))
#s(approx (neg (neg (log x))) (log.f32 x))
#s(approx (neg (log x)) (neg.f32 (log.f32 x)))
#s(approx (neg (neg (log x))) (log.f32 x))
#s(approx x x)
#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 (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 (sqrt (- (* x x) 1)) (sqrt.f32 #s(literal -1 binary32)))
#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 (acosh x) (log.f32 (+.f32 x x)))
#s(approx (acosh x) (-.f32 (log.f32 (+.f32 x x)) (/.f32 #s(literal 1/4 binary32) (*.f32 x x))))
#s(approx (acosh x) (+.f32 (log.f32 (+.f32 x x)) (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 (log.f32 (+.f32 x 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))))) (/.f32 #s(literal 1/4 binary32) (*.f32 x x))))
#s(approx (+ (neg (neg (log x))) (log 2)) (log.f32 (+.f32 x x)))
#s(approx (neg (neg (log x))) (log.f32 x))
#s(approx (neg (log x)) (neg.f32 (log.f32 x)))
#s(approx (neg (neg (log x))) (log.f32 x))
#s(approx (acosh x) (log.f32 (+.f32 x x)))
#s(approx (acosh x) (-.f32 (log.f32 (+.f32 x x)) (/.f32 #s(literal 1/4 binary32) (*.f32 x x))))
#s(approx (acosh x) (+.f32 (log.f32 (+.f32 x x)) (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 (log.f32 (+.f32 x 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))))) (/.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)) 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 (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 (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)))))

eval5.0ms (0.5%)

Memory
14.9MiB live, 14.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 681 to 313 computations (54% saved)

prune2.0ms (0.2%)

Memory
7.6MiB live, 7.6MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh000
Picked123
Done000
Total64367
Accuracy
100.0%
Counts
67 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.9%
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
99.3%
(acosh.f32 x)
96.8%
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
Compiler

Compiled 22 to 22 computations (0% saved)

series132.0ms (13.4%)

Memory
-31.6MiB live, 80.0MiB allocated; 50ms collecting garbage
Counts
6 → 17
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 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 (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#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 (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#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))))))
Calls

3 calls:

TimeVariablePointExpression
78.0ms
x
@0
((log (+ x (sqrt (- (* x x) 1)))) (+ (log x) (log 2)) (log x) x (log 2) 2)
40.0ms
x
@inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (log x) (log 2)) (log x) x (log 2) 2)
13.0ms
x
@-inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (log x) (log 2)) (log x) x (log 2) 2)

rewrite40.0ms (4.1%)

Memory
-7.9MiB live, 36.7MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105415
0108278
0644268
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
23 → 30
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 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 (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#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 (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#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))))))
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal 2 binary32) x)))
(log.f32 (*.f32 #s(literal 2 binary32) x))
(log.f32 (*.f32 x #s(literal 2 binary32)))
(/.f32 (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 x))) (-.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))
(/.f32 (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)))) (-.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(/.f32 (+.f32 (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32)) (pow.f32 (log.f32 x) #s(literal 3 binary32))) (fma.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)) (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))))
(/.f32 (+.f32 (pow.f32 (log.f32 x) #s(literal 3 binary32)) (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32))) (fma.f32 (log.f32 x) (log.f32 x) (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))))
(+.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 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 (+ (log x) (log 2)) (log.f32 (*.f32 #s(literal 2 binary32) x)))
#s(approx (log x) (log.f32 x))
#s(approx 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))) (neg.f32 (/.f32 (+.f32 (/.f32 #s(literal 3/32 binary32) (*.f32 x x)) #s(literal 1/4 binary32)) (*.f32 x x)))) (log.f32 #s(literal 2 binary32))))
#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 (+ (log x) (log 2)) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
#s(approx (log x) (neg.f32 (neg.f32 (log.f32 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))))

eval2.0ms (0.2%)

Memory
3.8MiB live, 3.8MiB allocated; 0ms collecting garbage
Compiler

Compiled 318 to 137 computations (56.9% saved)

prune2.0ms (0.2%)

Memory
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New25025
Fresh000
Picked011
Done022
Total25328
Accuracy
100.0%
Counts
28 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.9%
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
99.3%
(acosh.f32 x)
96.8%
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
Compiler

Compiled 52 to 48 computations (7.7% saved)

regimes6.0ms (0.6%)

Memory
12.3MiB live, 12.3MiB allocated; 0ms collecting garbage
Accuracy

Total -14.2b remaining (-6283.9%)

Threshold costs -14.2b (-6283.9%)

Counts
5 → 1
Calls
Call 1
Inputs
(acosh.f32 x)
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
Outputs
(acosh.f32 x)
Calls

3 calls:

2.0ms
x
2.0ms
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
2.0ms
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))
Results
AccuracySegmentsBranch
99.3%1(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))
99.3%1(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
99.3%1x
Compiler

Compiled 14 to 14 computations (0% saved)

derivations3.0ms (0.3%)

Memory
4.0MiB live, 4.0MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 2 to 2 computations (0% saved)

preprocess14.0ms (1.4%)

Memory
-21.1MiB live, 22.3MiB allocated; 4ms collecting garbage
Compiler

Compiled 19 to 18 computations (5.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...