Hyperbolic arc-cosine

Time bar (total: 3.2s)

start0.0ms (0%)

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

analyze833.0ms (25.8%)

Memory
-257.5MiB live, 173.1MiB allocated; 1.1s 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)

sample1.9s (59.6%)

Memory
129.8MiB live, 2 570.4MiB allocated; 354ms collecting garbage
Samples
952.0ms7 967×1invalid
449.0ms8 256×0valid
15.0ms327×0invalid
Precisions
Click to see histograms. Total time spent on operations: 930.0ms
ival-sqrt: 226.0ms (24.3% of total)
ival-log: 224.0ms (24.1% of total)
adjust: 184.0ms (19.8% of total)
ival-mult!: 162.0ms (17.4% of total)
ival-add!: 70.0ms (7.5% of total)
ival-sub!: 63.0ms (6.8% of total)
Bogosity

explain127.0ms (3.9%)

Memory
-29.5MiB live, 167.5MiB allocated; 46ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1380-0-(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
10-0-(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
00-0-(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
00-0-#s(literal 1 binary64)
00-0-(*.f64 x x)
00-0-(-.f64 (*.f64 x x) #s(literal 1 binary64))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))oflow-rescue1380
(-.f64 (*.f64 x x) #s(literal 1 binary64))overflow138
(*.f64 x x)overflow138
log.f64(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))oflow-rescue10
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))overflow1
(-.f64 (*.f64 x x) #s(literal 1 binary64))overflow138
(*.f64 x x)overflow138
Confusion
Predicted +Predicted -
+1380
-0118
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+13800
-00118
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0118
1137
21
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
28.0ms512×0valid
Compiler

Compiled 79 to 25 computations (68.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-log: 5.0ms (32.6% of total)
ival-sqrt: 4.0ms (26.1% of total)
ival-mult!: 3.0ms (19.6% of total)
ival-sub!: 1.0ms (6.5% of total)
ival-add!: 1.0ms (6.5% of total)
adjust: 0.0ms (0% of total)

preprocess77.0ms (2.4%)

Memory
-5.8MiB live, 46.8MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01430
13630
26930
313430
444130
5269730
6690130
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
47.8%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Compiler

Compiled 18 to 14 computations (22.2% saved)

series6.0ms (0.2%)

Memory
11.4MiB live, 11.4MiB allocated; 0ms collecting garbage
Counts
7 → 42
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)))
#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))
#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)))
#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)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#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)

rewrite65.0ms (2%)

Memory
38.5MiB live, 81.4MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0202988
0210724
01179694
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
49 → 70
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)))
#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))
#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)))
#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)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#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 (sinh.f64 (acosh.f64 x)) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (sinh.f64 (acosh.f64 x)) (sinh.f64 (acosh.f64 x)))) (-.f64 x (sinh.f64 (acosh.f64 x))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (sinh.f64 (acosh.f64 x)) (sinh.f64 (acosh.f64 x))) (*.f64 x (sinh.f64 (acosh.f64 x))))))
(+.f64 (sinh.f64 (acosh.f64 x)) x)
(+.f64 x (sinh.f64 (acosh.f64 x)))
x
(pow.f64 (expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 1/2 binary64))
(sinh.f64 (acosh.f64 x))
(sqrt.f64 (expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(*.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #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)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (*.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 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 1 binary64) #s(literal 3 binary64))
(/.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(neg.f64 #s(literal -1 binary64))
(cosh.f64 #s(literal 0 binary64))
(exp.f64 #s(literal 0 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) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #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 (fma.f64 (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 3/40 binary64) (*.f64 #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) (*.f64 x x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #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 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 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)) (sqrt.f64 #s(literal -1 binary64)))
#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 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 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 (fma.f64 #s(literal 1/16 binary64) (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (*.f64 #s(literal -1/8 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 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) (expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
#s(approx (* x x) (*.f64 x x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log1p.f64 #s(literal 1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log1p.f64 #s(literal 1 binary64))) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (*.f64 x x))) (log1p.f64 #s(literal 1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (log1p.f64 #s(literal 1 binary64))) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64) #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64)) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (- (* x x) 1) (*.f64 x x))
#s(approx (- (* x x) 1) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) (*.f64 x x)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (fma.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 5/96 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #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 (fma.f64 #s(literal 5/128 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64))) 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 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))))

eval13.0ms (0.4%)

Memory
-24.6MiB live, 19.3MiB allocated; 7ms collecting garbage
Compiler

Compiled 1 195 to 343 computations (71.3% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

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

Compiled 13 to 10 computations (23.1% saved)

series3.0ms (0.1%)

Memory
5.3MiB live, 5.3MiB allocated; 0ms collecting garbage
Counts
5 → 49
Calls
Call 1
Inputs
(acosh.f64 x)
x
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f64 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) 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 (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 (sqrt (- (* x x) 1)) #s(hole binary64 (sqrt -1)))
#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 (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 (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))
#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 (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)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#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)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#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
1.0ms
x
@-inf
((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
1.0ms
x
@inf
((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
0.0ms
x
@0
((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))

rewrite54.0ms (1.7%)

Memory
25.6MiB live, 67.9MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02051194
0207901
01173861
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
54 → 58
Calls
Call 1
Inputs
(acosh.f64 x)
x
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f64 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) 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 (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 (sqrt (- (* x x) 1)) #s(hole binary64 (sqrt -1)))
#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 (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 (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))
#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 (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)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#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)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#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 (sinh.f64 (acosh.f64 x)) x))
x
(log.f64 (+.f64 #s(approx (sqrt (- (* x x) 1)) x) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x))) (-.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (sqrt (- (* x x) 1)) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x)) (*.f64 x #s(approx (sqrt (- (* x x) 1)) x)))))
(+.f64 #s(approx (sqrt (- (* x x) 1)) x) x)
(+.f64 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
#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) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #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 (fma.f64 (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 3/40 binary64) (*.f64 #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) (*.f64 x x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx x x)
#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) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #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 (fma.f64 (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 3/40 binary64) (*.f64 #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) (*.f64 x x) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #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 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 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 (sqrt (- (* x x) 1)) (sqrt.f64 #s(literal -1 binary64)))
#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 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 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 (fma.f64 #s(literal 1/16 binary64) (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (*.f64 #s(literal -1/8 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 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 (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log1p.f64 #s(literal 1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log1p.f64 #s(literal 1 binary64))) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (*.f64 x x))) (log1p.f64 #s(literal 1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (log1p.f64 #s(literal 1 binary64))) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log1p.f64 #s(literal 1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log1p.f64 #s(literal 1 binary64))) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (*.f64 x x))) (log1p.f64 #s(literal 1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (log1p.f64 #s(literal 1 binary64))) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64) #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64)) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (fma.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 5/96 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (fma.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 5/96 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #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 (fma.f64 #s(literal 5/128 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64))) 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 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))))

eval104.0ms (3.2%)

Memory
-79.5MiB live, 18.2MiB allocated; 114ms collecting garbage
Compiler

Compiled 953 to 223 computations (76.6% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (0 fresh and 2 done)

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

Compiled 35 to 25 computations (28.6% saved)

regimes4.0ms (0.1%)

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

Total -34.1b remaining (-17100.9%)

Threshold costs -34.1b (-17100.9%)

Counts
3 → 1
Calls
Call 1
Inputs
(acosh.f64 x)
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) 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 18 to 14 computations (22.2% saved)

derivations4.0ms (0.1%)

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

Compiled 2 to 2 computations (0% saved)

preprocess14.0ms (0.4%)

Memory
-28.2MiB live, 18.9MiB allocated; 9ms collecting garbage
Compiler

Compiled 22 to 18 computations (18.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...