Hyperbolic arc-cosine

Time bar (total: 3.3s)

start0.0ms (0%)

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

analyze95.0ms (2.9%)

Memory
-8.7MiB live, 54.9MiB allocated; 35ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%100%0%0%0%0%3
16.7%12.5%62.5%0%0%25%0%4
30%18.7%43.7%0%0%37.5%0%5
38.9%21.9%34.4%0%0%43.7%0%6
44.1%23.4%29.7%0%0%46.9%0%7
47%24.2%27.3%0%0%48.4%0%8
48.5%24.6%26.2%0%0%49.2%0%9
49.2%24.8%25.6%0%0%49.6%0%10
49.6%24.9%25.3%0%0%49.8%0%11
49.8%24.9%25.1%0%0%49.9%0%12
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample2.1s (63.5%)

Memory
144.9MiB live, 2 051.8MiB allocated; 451ms collecting garbage
Samples
1.1s7 833×1invalid
539.0ms8 256×0valid
16.0ms357×0invalid
Precisions
Click to see histograms. Total time spent on operations: 1.2s
ival-log: 387.0ms (32.5% of total)
ival-sqrt: 251.0ms (21.1% of total)
adjust: 227.0ms (19.1% of total)
ival-mult!: 182.0ms (15.3% of total)
ival-add!: 79.0ms (6.6% of total)
ival-sub!: 64.0ms (5.4% of total)
Bogosity

preprocess59.0ms (1.8%)

Memory
-23.6MiB live, 31.8MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0149
1599
21389
33709
423149
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.9%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Compiler

Compiled 14 to 14 computations (0% saved)

series6.0ms (0.2%)

Memory
5.4MiB live, 5.4MiB allocated; 0ms collecting garbage
Counts
7 → 39
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
x
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1 binary64)
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (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 binary64 (+ (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 binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (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 binary64 (+ (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 binary64 -1))
#s(approx (- (* x x) 1) #s(hole binary64 (- (pow x 2) 1)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (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 binary64 (- (+ (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 binary64 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* 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 binary64 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* 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 binary64 (* (pow x 2) (- 1 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 1/2) (log (/ 1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (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 binary64 (- (+ (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 binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -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 binary64 (* -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 binary64 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -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
@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
@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)

rewrite80.0ms (2.4%)

Memory
35.1MiB live, 105.2MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198966
0205694
01527658
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
46 → 72
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
x
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1 binary64)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (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 binary64 (+ (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 binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (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 binary64 (+ (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 binary64 -1))
#s(approx (- (* x x) 1) #s(hole binary64 (- (pow x 2) 1)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (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 binary64 (- (+ (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 binary64 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* 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 binary64 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* 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 binary64 (* (pow x 2) (- 1 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 1/2) (log (/ 1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (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 binary64 (- (+ (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 binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -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 binary64 (* -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 binary64 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Outputs
(acosh.f64 x)
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x)) x)
(/.f64 (-.f64 (*.f64 x x) (*.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))))) (-.f64 x (sqrt.f64 (fma.f64 x x #s(literal -1 binary64)))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) (sqrt.f64 (fma.f64 x x #s(literal -1 binary64)))) (*.f64 x (sqrt.f64 (fma.f64 x x #s(literal -1 binary64)))))))
(-.f64 x (neg.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64)))))
(+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x)
(+.f64 x (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))))
x
(pow.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1/2 binary64))
(sinh.f64 (acosh.f64 x))
(sqrt.f64 (fma.f64 x x #s(literal -1 binary64)))
(fabs.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))))
(*.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 x x) (*.f64 x x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1 binary64))
(fma.f64 x x #s(literal -1 binary64))
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(+.f64 (*.f64 x x) #s(literal -1 binary64))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(literal 1 binary64)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/6 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 (sqrt.f64 #s(literal -1 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx x x)
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (- (* x x) 1) #s(literal -1 binary64))
#s(approx (- (* x x) 1) (fma.f64 x x #s(literal -1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (neg.f64 (neg.f64 (log.f64 x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 1 binary64)) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (- (* x x) 1) (fma.f64 x x #s(literal -1 binary64)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (log.f64 (/.f64 #s(literal 1/2 binary64) x)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (/.f64 #s(literal 1/2 binary64) x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (+.f64 (log.f64 (/.f64 #s(literal 1/2 binary64) x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 11/96 binary64) (*.f64 x x)) #s(literal 5/32 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 1/2 binary64)) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1/2 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)))
#s(approx (sqrt (- (* x x) 1)) (neg.f64 x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))

eval7.0ms (0.2%)

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

Compiled 713 to 340 computations (52.3% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New65267
Fresh000
Picked101
Done000
Total66268
Accuracy
100.0%
Counts
68 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)))
99.7%
(acosh.f64 x)
Compiler

Compiled 11 to 11 computations (0% saved)

series3.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated; 0ms collecting garbage
Counts
5 → 25
Calls
Call 1
Inputs
(acosh.f64 x)
x
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
(+.f64 x x)
Outputs
#s(approx (acosh x) #s(hole binary64 (log (sqrt -1))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (acosh x) #s(hole binary64 (+ (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 binary64 x))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (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 binary64 (* 2 x)))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (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 binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 1/2) (log (/ 1 x)))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 1/4 (* 5/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (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 binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -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 binary64 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
Calls

3 calls:

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

rewrite931.0ms (28.1%)

Memory
-284.7MiB live, 89.2MiB allocated; 1.3s collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158568
0160459
01278438
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
30 → 37
Calls
Call 1
Inputs
(acosh.f64 x)
x
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
(+.f64 x x)
#s(approx (acosh x) #s(hole binary64 (log (sqrt -1))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (acosh x) #s(hole binary64 (+ (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 binary64 x))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (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 binary64 (* 2 x)))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (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 binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 1/2) (log (/ 1 x)))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 1/2) (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 1/2) (+ (log (/ 1 x)) (* -1 (/ (+ 1/4 (* 5/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (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 binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -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 binary64 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
Outputs
(acosh.f64 x)
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x))
x
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x x)) x)
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(-.f64 x (neg.f64 x))
(+.f64 x x)
#s(approx (acosh x) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
#s(approx (acosh x) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (acosh x) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/6 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (acosh x) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx x x)
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 (sqrt.f64 #s(literal -1 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x x) (+.f64 x x))
#s(approx (acosh x) (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))))
#s(approx (acosh x) (+.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (neg.f64 (neg.f64 (log.f64 x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (acosh x) (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (*.f64 x x)))))
#s(approx (acosh x) (-.f64 (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (acosh x) (log.f64 (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (acosh x) (-.f64 (log.f64 (/.f64 #s(literal 1/2 binary64) x)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (acosh x) (+.f64 (log.f64 (/.f64 #s(literal 1/2 binary64) x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (*.f64 x x)))))
#s(approx (acosh x) (-.f64 (+.f64 (log.f64 (/.f64 #s(literal 1/2 binary64) x)) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 11/96 binary64) (*.f64 x x)) #s(literal 5/32 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 1/2 binary64)) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1/2 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)))

eval3.0ms (0.1%)

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

Compiled 346 to 188 computations (45.7% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New33033
Fresh000
Picked022
Done000
Total33235
Accuracy
100.0%
Counts
35 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)))
99.7%
(acosh.f64 x)
Compiler

Compiled 27 to 27 computations (0% saved)

regimes5.0ms (0.1%)

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

Total -33.1b remaining (-15698.8%)

Threshold costs -33.1b (-15698.8%)

Counts
3 → 1
Calls
Call 1
Inputs
(acosh.f64 x)
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)))
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Outputs
(acosh.f64 x)
Calls

3 calls:

1.0ms
x
1.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
1.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
99.7%1(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
99.7%1(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
99.7%1x
Compiler

Compiled 14 to 14 computations (0% saved)

derivations4.0ms (0.1%)

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

Compiled 2 to 2 computations (0% saved)

preprocess13.0ms (0.4%)

Memory
-31.6MiB live, 14.3MiB allocated; 6ms collecting garbage
Compiler

Compiled 9 to 9 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...