Hyperbolic arc-cosine

Time bar (total: 3.1s)

start0.0ms (0%)

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

analyze99.0ms (3.2%)

Memory
-21.5MiB live, 128.3MiB allocated; 32ms 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.4s (76.5%)

Memory
83.1MiB live, 2 980.3MiB allocated; 586ms collecting garbage
Samples
1.1s8 046×1invalid
635.0ms8 256×0valid
19.0ms339×0invalid
Precisions
Click to see histograms. Total time spent on operations: 1.3s
adjust: 256.0ms (20.5% of total)
ival-mult: 243.0ms (19.4% of total)
ival-sqrt: 226.0ms (18.1% of total)
ival-log: 213.0ms (17% of total)
ival-sub: 159.0ms (12.7% of total)
ival-add: 136.0ms (10.9% of total)
exact: 11.0ms (0.9% of total)
ival-assert: 6.0ms (0.5% of total)
Bogosity

explain103.0ms (3.3%)

Memory
23.6MiB live, 122.7MiB allocated; 11ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1240-0-(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-(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #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-rescue1240
(-.f64 (*.f64 x x) #s(literal 1 binary64))overflow124
(*.f64 x x)overflow124
Confusion
Predicted +Predicted -
+1240
-0132
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+12400
-00132
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0132
1124
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
31.0ms512×0valid
Compiler

Compiled 79 to 25 computations (68.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
ival-log: 5.0ms (27% of total)
ival-mult: 4.0ms (21.6% of total)
ival-sqrt: 3.0ms (16.2% of total)
ival-add: 2.0ms (10.8% of total)
ival-sub: 2.0ms (10.8% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess202.0ms (6.5%)

Memory
-7.2MiB live, 175.6MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01430
13630
26930
313430
444130
5269730
6690130
079
0129
1229
2499
31219
43839
523359
678899
080198
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Outputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.1%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

series6.0ms (0.2%)

Memory
6.1MiB live, 6.1MiB 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)

rewrite56.0ms (1.8%)

Memory
9.4MiB live, 56.1MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0202988
0210724
01179694
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
49 → 64
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)))
#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) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 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))) (log.f64 #s(literal 2 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)))) (log.f64 #s(literal 2 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)))))

eval11.0ms (0.4%)

Memory
-36.6MiB live, 9.1MiB allocated; 3ms collecting garbage
Compiler

Compiled 1 186 to 314 computations (73.5% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New65368
Fresh000
Picked101
Done000
Total66369
Accuracy
100.0%
Counts
69 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.4%
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
99.8%
(log.f64 #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)))
99.7%
(acosh.f64 x)
Compiler

Compiled 32 to 25 computations (21.9% saved)

series5.0ms (0.2%)

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

rewrite72.0ms (2.3%)

Memory
24.2MiB live, 78.7MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02371425
02471117
012751077
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
74 → 91
Calls
Call 1
Inputs
(acosh.f64 x)
x
(log.f64 #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 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
(*.f64 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x)
(-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))
#s(literal 2 binary64)
(*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))
(pow.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
#s(literal 1/2 binary64)
(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 (* (- 2 (* (pow x -2) 1/2)) x) #s(hole binary64 (/ -1/2 x)))
#s(approx (* (- 2 (* (pow x -2) 1/2)) x) #s(hole binary64 (/ (- (* 2 (pow x 2)) 1/2) x)))
#s(approx (- 2 (* (pow x -2) 1/2)) #s(hole binary64 (/ -1/2 (pow x 2))))
#s(approx (- 2 (* (pow x -2) 1/2)) #s(hole binary64 (/ (- (* 2 (pow x 2)) 1/2) (pow x 2))))
#s(approx (* (pow x -2) 1/2) #s(hole binary64 (/ 1/2 (pow x 2))))
#s(approx (pow x -2) #s(hole binary64 (/ 1 (pow x 2))))
#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 (* (- 2 (* (pow x -2) 1/2)) x) #s(hole binary64 (* 2 x)))
#s(approx (* (- 2 (* (pow x -2) 1/2)) x) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (- 2 (* (pow x -2) 1/2)) #s(hole binary64 2))
#s(approx (- 2 (* (pow x -2) 1/2)) #s(hole binary64 (- 2 (* 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 (* (- 2 (* (pow x -2) 1/2)) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 2)))))
#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 #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 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
(*.f64 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x)
(*.f64 x (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))) (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))))
(/.f64 (-.f64 #s(literal 8 binary64) (pow.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 4 binary64) (fma.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))))))
(-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))
(+.f64 #s(literal 2 binary64) (*.f64 (neg.f64 (pow.f64 x #s(literal -2 binary64))) #s(literal 1/2 binary64)))
(+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))
#s(literal 2 binary64)
(*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal -2 binary64)))
(/.f64 #s(literal -1/2 binary64) (neg.f64 (*.f64 x x)))
(/.f64 #s(literal 1/2 binary64) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 (*.f64 x x) #s(literal -1 binary64))
(pow.f64 x #s(literal -2 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 (*.f64 x x)))
(/.f64 #s(literal 1 binary64) (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal -2 binary64)))
#s(literal -2 binary64)
#s(literal 1/2 binary64)
(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 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 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 (* (- 2 (* (pow x -2) 1/2)) x) (/.f64 #s(literal -1/2 binary64) x))
#s(approx (* (- 2 (* (pow x -2) 1/2)) x) (/.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) x))
#s(approx (- 2 (* (pow x -2) 1/2)) (/.f64 #s(literal -1/2 binary64) (*.f64 x x)))
#s(approx (- 2 (* (pow x -2) 1/2)) (/.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (*.f64 x x)))
#s(approx (* (pow x -2) 1/2) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))
#s(approx (pow x -2) (pow.f64 x #s(literal -2 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) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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))) (log.f64 #s(literal 2 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)))) (log.f64 #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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))) (log.f64 #s(literal 2 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)))) (log.f64 #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/16 binary64) (pow.f64 x #s(literal -2 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 (* (- 2 (* (pow x -2) 1/2)) x) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (- 2 (* (pow x -2) 1/2)) x) (*.f64 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (- 2 (* (pow x -2) 1/2)) #s(literal 2 binary64))
#s(approx (- 2 (* (pow x -2) 1/2)) (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))))
#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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/16 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x)))
#s(approx (* (- 2 (* (pow x -2) 1/2)) x) (*.f64 (neg.f64 x) (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 2 binary64))))
#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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/16 binary64) (pow.f64 x #s(literal -2 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)))))

eval11.0ms (0.4%)

Memory
-35.5MiB live, 10.4MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 818 to 370 computations (79.6% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New84185
Fresh000
Picked123
Done000
Total85388
Accuracy
100.0%
Counts
88 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.4%
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
99.8%
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)))
99.7%
(acosh.f64 x)
Compiler

Compiled 32 to 24 computations (25% saved)

series4.0ms (0.1%)

Memory
3.9MiB live, 3.9MiB allocated; 0ms collecting garbage
Counts
9 → 36
Calls
Call 1
Inputs
(log.f64 #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 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
(*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)
(-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))
#s(literal 2 binary64)
(/.f64 #s(literal 1/2 binary64) (*.f64 x x))
#s(literal 1/2 binary64)
(*.f64 x x)
x
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 (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (/ -1/2 x)))
#s(approx (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (/ (- (* 2 (pow x 2)) 1/2) x)))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 (/ -1/2 (pow x 2))))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 (/ (- (* 2 (pow x 2)) 1/2) (pow x 2))))
#s(approx (/ 1/2 (* x x)) #s(hole binary64 (/ 1/2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#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 (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (* 2 x)))
#s(approx (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 2))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 (- 2 (* 1/2 (/ 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 (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 2)))))
Calls

3 calls:

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

rewrite49.0ms (1.6%)

Memory
-4.1MiB live, 41.8MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0184851
0191658
01061637
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
45 → 58
Calls
Call 1
Inputs
(log.f64 #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 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
(*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)
(-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))
#s(literal 2 binary64)
(/.f64 #s(literal 1/2 binary64) (*.f64 x x))
#s(literal 1/2 binary64)
(*.f64 x x)
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 (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (/ -1/2 x)))
#s(approx (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (/ (- (* 2 (pow x 2)) 1/2) x)))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 (/ -1/2 (pow x 2))))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 (/ (- (* 2 (pow x 2)) 1/2) (pow x 2))))
#s(approx (/ 1/2 (* x x)) #s(hole binary64 (/ 1/2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#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 (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (* 2 x)))
#s(approx (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 2))
#s(approx (- 2 (/ 1/2 (* x x))) #s(hole binary64 (- 2 (* 1/2 (/ 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 (* (- 2 (/ 1/2 (* x x))) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 2)))))
Outputs
(log.f64 #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 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
(*.f64 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x)
(*.f64 x (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))) (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))))
(/.f64 (-.f64 #s(literal 8 binary64) (pow.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 4 binary64) (fma.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))))))
(-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))
(+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))
#s(literal 2 binary64)
(*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal -2 binary64)))
(/.f64 (/.f64 #s(literal 1/2 binary64) x) x)
(/.f64 #s(literal -1/2 binary64) (neg.f64 (*.f64 x x)))
(/.f64 #s(literal 1/2 binary64) (*.f64 x x))
#s(literal 1/2 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)))
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 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 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 (* (- 2 (/ 1/2 (* x x))) x) (/.f64 #s(literal -1/2 binary64) x))
#s(approx (* (- 2 (/ 1/2 (* x x))) x) (/.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) x))
#s(approx (- 2 (/ 1/2 (* x x))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x)))
#s(approx (- 2 (/ 1/2 (* x x))) (/.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (*.f64 x x)))
#s(approx (/ 1/2 (* x x)) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 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))) (log.f64 #s(literal 2 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)))) (log.f64 #s(literal 2 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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/16 binary64) (pow.f64 x #s(literal -2 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 (* (- 2 (/ 1/2 (* x x))) x) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (- 2 (/ 1/2 (* x x))) x) (*.f64 (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x))
#s(approx (- 2 (/ 1/2 (* x x))) #s(literal 2 binary64))
#s(approx (- 2 (/ 1/2 (* x x))) (-.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal -2 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 #s(literal 1/8 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64))) x)))
#s(approx (* (- 2 (/ 1/2 (* x x))) x) (neg.f64 (*.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 2 binary64)) x)))

eval6.0ms (0.2%)

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

Compiled 1 384 to 297 computations (78.5% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New61061
Fresh000
Picked011
Done022
Total61364
Accuracy
100.0%
Counts
64 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.4%
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
99.8%
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)))
99.7%
(acosh.f64 x)
Compiler

Compiled 92 to 54 computations (41.3% saved)

regimes6.0ms (0.2%)

Memory
7.5MiB live, 7.5MiB allocated; 0ms collecting garbage
Counts
5 → 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)))))
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)))
(log.f64 #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)))
Outputs
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)))
Calls

3 calls:

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

Compiled 18 to 14 computations (22.2% saved)

regimes5.0ms (0.1%)

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

Total -30.2b remaining (-14610.8%)

Threshold costs -30.2b (-14610.8%)

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)

simplify42.0ms (1.4%)

Memory
-6.0MiB live, 39.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01521
12821
26421
316321
470421
5512321
Stop Event
node limit
Calls
Call 1
Inputs
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)))
(acosh.f64 x)
Outputs
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)))
(acosh.f64 x)

derivations8.0ms (0.3%)

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

Compiled 21 to 15 computations (28.6% saved)

preprocess28.0ms (0.9%)

Memory
-32.8MiB live, 19.9MiB allocated; 27ms collecting garbage
Compiler

Compiled 60 to 44 computations (26.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...